Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 99.8 kB / 19.71 MB, free: 2.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 216.2 kB / 23 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.155/3.155, allocations: 0.49 GB / 0.7959 GB, free: 35.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 66.09 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3216, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.06551/0.3871, allocations: 51.89 MB / 1.378 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1811/0.5682, allocations: 141.4 MB / 1.516 GB, free: 15.05 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/0.5707, allocations: 79.31 kB / 1.516 GB, free: 14.97 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002499/0.5732, allocations: 0.826 MB / 1.517 GB, free: 14.14 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00865/0.5818, allocations: 3.269 MB / 1.52 GB, free: 10.86 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006733/0.5885, allocations: 2.759 MB / 1.523 GB, free: 8.117 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01584/0.6044, allocations: 14.4 MB / 1.537 GB, free: 9.676 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007087/0.6115, allocations: 4.977 MB / 1.542 GB, free: 4.598 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01689/0.6284, allocations: 9.283 MB / 1.551 GB, free: 11.32 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007272/0.6356, allocations: 4.26 MB / 1.555 GB, free: 7.039 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.001783/0.6374, allocations: 0.7109 MB / 1.555 GB, free: 6.328 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008248/0.6457, allocations: 3.636 MB / 1.559 GB, free: 2.688 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.002628/0.6483, allocations: 1.807 MB / 1.561 GB, free: 0.875 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.005289/0.6536, allocations: 2.809 MB / 1.563 GB, free: 14.05 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.6682, allocations: 10.81 MB / 1.574 GB, free: 3.207 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6682, allocations: 0 / 1.574 GB, free: 3.207 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6682, allocations: 0 / 1.574 GB, free: 3.207 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0002096/0.6684, allocations: 0 / 1.574 GB, free: 3.207 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1078 * Number of variables: 1078 Notification: Performance of Generate backend data structure: time 0.01621/0.6846, allocations: 6.976 MB / 1.581 GB, free: 12.14 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.6846, allocations: 8.031 kB / 1.581 GB, free: 12.14 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01657/0.7012, allocations: 1.936 MB / 1.583 GB, free: 10.2 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01425/0.7155, allocations: 5.305 MB / 1.588 GB, free: 4.82 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003373/0.7158, allocations: 316.2 kB / 1.588 GB, free: 4.508 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/0.7175, allocations: 404 kB / 1.589 GB, free: 4.113 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/0.7344, allocations: 7.163 MB / 1.596 GB, free: 12.51 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.282e-05/0.7344, allocations: 11.88 kB / 1.596 GB, free: 12.5 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006323/0.7351, allocations: 172 kB / 1.596 GB, free: 12.33 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001895/0.7353, allocations: 176 kB / 1.596 GB, free: 12.15 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01524/0.7505, allocations: 5.98 MB / 1.602 GB, free: 6.152 MB / 1.295 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7269/1.477, allocations: 17.63 MB / 1.619 GB, free: 262 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/1.488, allocations: 4.319 MB / 1.623 GB, free: 260.4 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005472/1.494, allocations: 1.985 MB / 1.625 GB, free: 259.7 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001516/1.495, allocations: 286.6 kB / 1.625 GB, free: 259.7 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007832/1.503, allocations: 3.041 MB / 1.628 GB, free: 258.1 MB / 1.295 GB Notification: Performance of pre-optimization done (n=318): time 1.752e-05/1.503, allocations: 0 / 1.628 GB, free: 258.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=318): time 0.02246/1.526, allocations: 6.874 MB / 1.635 GB, free: 256 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/1.526, allocations: 240.6 kB / 1.635 GB, free: 255.8 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007683/1.534, allocations: 3.716 MB / 1.639 GB, free: 254.5 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001424/1.535, allocations: 90.02 kB / 1.639 GB, free: 254.5 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.00271/1.538, allocations: 2.205 MB / 1.641 GB, free: 253.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0022/1.54, allocations: 1.116 MB / 1.642 GB, free: 252.3 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/1.541, allocations: 0.6903 MB / 1.643 GB, free: 252 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 4.962e-05/1.541, allocations: 301.1 kB / 1.643 GB, free: 251.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004039/1.545, allocations: 2.069 MB / 1.645 GB, free: 251 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004304/1.55, allocations: 2.983 MB / 1.648 GB, free: 249.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007866/1.558, allocations: 4.674 MB / 1.653 GB, free: 246.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/1.558, allocations: 3.875 kB / 1.653 GB, free: 246.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=438) (initialization): time 0.01036/1.568, allocations: 5.489 MB / 1.658 GB, free: 244 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.887e-05/1.568, allocations: 52.66 kB / 1.658 GB, free: 243.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/1.568, allocations: 15.06 kB / 1.658 GB, free: 243.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006632/1.569, allocations: 104.3 kB / 1.658 GB, free: 243.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004219/1.573, allocations: 0.8557 MB / 1.659 GB, free: 243.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/1.575, allocations: 2.14 MB / 1.661 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005452/1.581, allocations: 469.5 kB / 1.662 GB, free: 241.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007516/1.581, allocations: 173.8 kB / 1.662 GB, free: 241.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007714/1.589, allocations: 3.467 MB / 1.665 GB, free: 238.1 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005647/1.595, allocations: 2.983 MB / 1.668 GB, free: 234.8 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008949/1.604, allocations: 4.675 MB / 1.673 GB, free: 229.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.277e-05/1.604, allocations: 4 kB / 1.673 GB, free: 229.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=438) (initialization_lambda0): time 0.0129/1.617, allocations: 5.475 MB / 1.678 GB, free: 224.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.737e-05/1.617, allocations: 49.88 kB / 1.678 GB, free: 224.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.977e-05/1.617, allocations: 20 kB / 1.678 GB, free: 224.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/1.617, allocations: 104.8 kB / 1.678 GB, free: 224.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004276/1.621, allocations: 0.8463 MB / 1.679 GB, free: 223.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/1.623, allocations: 1.543 MB / 1.681 GB, free: 221.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005385/1.629, allocations: 442.5 kB / 1.681 GB, free: 221.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007551/1.629, allocations: 167.9 kB / 1.681 GB, free: 221.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,solCol.HDirTil.incAng.decAng.tNext,$PRE.solCol.HDirTil.incAng.decAng.tNext,solCol.HDifTilIso.incAng.decAng.tNext,$PRE.solCol.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 424 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001585/1.631, allocations: 387.4 kB / 1.682 GB, free: 220.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001861/1.633, allocations: 429.2 kB / 1.682 GB, free: 220.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0164/1.649, allocations: 5.693 MB / 1.687 GB, free: 214.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01048/1.66, allocations: 4.608 MB / 1.692 GB, free: 209.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/1.66, allocations: 0 / 1.692 GB, free: 209.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003426/1.663, allocations: 1.063 MB / 1.693 GB, free: 208.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001522/1.665, allocations: 70.23 kB / 1.693 GB, free: 208.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004699/1.669, allocations: 241.9 kB / 1.693 GB, free: 208.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005997/1.67, allocations: 262.1 kB / 1.694 GB, free: 208.3 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01388/1.684, allocations: 5.235 MB / 1.699 GB, free: 203.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01424/1.698, allocations: 7.31 MB / 1.706 GB, free: 195.7 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00383/1.702, allocations: 2.027 MB / 1.708 GB, free: 193.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004663/1.707, allocations: 2.574 MB / 1.71 GB, free: 191.1 MB / 1.295 GB Notification: Performance of Backend: time 7.11e-07/1.707, allocations: 0 / 1.71 GB, free: 191.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02182/1.728, allocations: 7.123 MB / 1.717 GB, free: 184.4 MB / 1.295 GB Notification: Performance of SimCode: time 0.02393/1.752, allocations: 11.29 MB / 1.728 GB, free: 173.2 MB / 1.295 GB Notification: Performance of Templates: time 0.1591/1.911, allocations: 129.5 MB / 1.855 GB, free: 44.93 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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: 17.73052532099973]