Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 112.5 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.672/2.672, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 71.81 kB / 1.057 GB, free: 2.055 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3346, allocations: 160.7 MB / 1.214 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003464/0.338, allocations: 1.919 MB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004238/0.3423, allocations: 3.478 MB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.175e-05/0.3424, allocations: 0 / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.3427, allocations: 55.62 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.3432, allocations: 135.2 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.3433, allocations: 31.94 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000255/0.3435, allocations: 175.2 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3436, allocations: 17.69 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.3438, allocations: 79.69 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.344, allocations: 95.59 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.344, allocations: 8 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.482e-05/0.3441, allocations: 35.92 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.3442, allocations: 35.84 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.639e-05/0.3443, allocations: 87.45 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.3445, allocations: 167.1 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3445, allocations: 4 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.562e-06/0.3445, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3445, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009308/0.3455, allocations: 0.5121 MB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3455, allocations: 12.03 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.3456, allocations: 16.84 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.3459, allocations: 251 kB / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3459, allocations: 4.375 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.3459, allocations: 4.375 kB / 1.221 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.3463, allocations: 145.6 kB / 1.221 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3463, allocations: 4 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3463, allocations: 0 / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.3464, allocations: 8 kB / 1.221 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.3468, allocations: 151.8 kB / 1.221 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007546/0.3476, allocations: 460.5 kB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.348, allocations: 162.5 kB / 1.222 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.3483, allocations: 96.78 kB / 1.222 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.3483, allocations: 7.984 kB / 1.222 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3483, allocations: 30.56 kB / 1.222 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.3483, allocations: 0 / 1.222 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.000894/0.3492, allocations: 297.6 kB / 1.222 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.3493, allocations: 51.41 kB / 1.222 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.3495, allocations: 217 kB / 1.223 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3495, allocations: 29.7 kB / 1.223 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.3496, allocations: 128 kB / 1.223 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.3497, allocations: 39.64 kB / 1.223 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.704e-05/0.3497, allocations: 33.7 kB / 1.223 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3499, allocations: 338.8 kB / 1.223 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.3502, allocations: 71.94 kB / 1.223 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.3504, allocations: 79.81 kB / 1.223 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.3509, allocations: 164.7 kB / 1.223 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.3509, allocations: 0 / 1.223 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005829/0.3514, allocations: 225.4 kB / 1.224 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3515, allocations: 4 kB / 1.224 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.3515, allocations: 0 / 1.224 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3515, allocations: 3.984 kB / 1.224 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.3517, allocations: 31.97 kB / 1.224 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.3517, allocations: 4 kB / 1.224 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.3519, allocations: 19.92 kB / 1.224 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.3519, allocations: 3.984 kB / 1.224 GB, free: 6.914 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.3521, allocations: 137.7 kB / 1.224 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.3521, allocations: 23.8 kB / 1.224 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.861e-05/0.3522, allocations: 25.83 kB / 1.224 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3522, allocations: 0 / 1.224 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3522, allocations: 4 kB / 1.224 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3522, allocations: 4 kB / 1.224 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.3526, allocations: 273.4 kB / 1.224 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3526, allocations: 0 / 1.224 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.3528, allocations: 31.97 kB / 1.224 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3528, allocations: 0 / 1.224 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.3528, allocations: 3.984 kB / 1.224 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3528, allocations: 0 / 1.224 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.3528, allocations: 7.938 kB / 1.224 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006666/0.3535, allocations: 315.3 kB / 1.224 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3536, allocations: 112.9 kB / 1.225 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.3537, allocations: 0 / 1.225 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.3539, allocations: 19.98 kB / 1.225 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.3539, allocations: 15.98 kB / 1.225 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3539, allocations: 8 kB / 1.225 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001551/0.3541, allocations: 156.5 kB / 1.225 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3541, allocations: 0 / 1.225 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000281/0.3544, allocations: 39.94 kB / 1.225 GB, free: 5.664 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001836/0.3545, allocations: 111.2 kB / 1.225 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005765/0.3551, allocations: 175.6 kB / 1.225 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3551, allocations: 0 / 1.225 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.3554, allocations: 83.88 kB / 1.225 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.3558, allocations: 40.28 kB / 1.225 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009606/0.3568, allocations: 458.9 kB / 1.226 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.3572, allocations: 0.7314 MB / 1.226 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.578e-05/0.3573, allocations: 19.42 kB / 1.226 GB, free: 4 MB / 0.9669 GB Notification: Performance of SimCode: time 7.12e-07/0.3573, allocations: 0 / 1.226 GB, free: 4 MB / 0.9669 GB Notification: Performance of Templates: time 0.004917/0.3622, allocations: 2.339 MB / 1.229 GB, free: 1.676 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.926465491997078]