Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 119.6 kB / 16.81 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 199.1 kB / 17.77 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.711/2.711, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 72.72 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3381, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.06711/0.4052, allocations: 57.65 MB / 1.318 GB, free: 3.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1937/0.5989, allocations: 160.2 MB / 1.475 GB, free: 2.273 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0029/0.6018, allocations: 63.62 kB / 1.475 GB, free: 2.211 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002478/0.6043, allocations: 0.7169 MB / 1.476 GB, free: 1.488 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.009184/0.6135, allocations: 3.235 MB / 1.479 GB, free: 14.25 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006773/0.6203, allocations: 2.586 MB / 1.481 GB, free: 11.67 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01634/0.6366, allocations: 13.8 MB / 1.495 GB, free: 13.83 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008263/0.6449, allocations: 5.648 MB / 1.5 GB, free: 8.086 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01583/0.6607, allocations: 7.758 MB / 1.508 GB, free: 340 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008067/0.6688, allocations: 4.21 MB / 1.512 GB, free: 12.11 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.002151/0.6709, allocations: 0.6992 MB / 1.513 GB, free: 11.41 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01033/0.6813, allocations: 4.322 MB / 1.517 GB, free: 7.078 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.003256/0.6845, allocations: 1.729 MB / 1.519 GB, free: 5.344 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.006214/0.6907, allocations: 3.341 MB / 1.522 GB, free: 1.988 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01574/0.7065, allocations: 10.3 MB / 1.532 GB, free: 7.656 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.7065, allocations: 0 / 1.532 GB, free: 7.656 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.986e-06/0.7065, allocations: 0 / 1.532 GB, free: 7.656 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0003558/0.7068, allocations: 0 / 1.532 GB, free: 7.656 MB / 1.248 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.01725/0.7241, allocations: 6.703 MB / 1.538 GB, free: 0.8555 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.7241, allocations: 12.62 kB / 1.538 GB, free: 0.8438 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01388/0.738, allocations: 1.799 MB / 1.54 GB, free: 15.04 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01252/0.7505, allocations: 5.178 MB / 1.545 GB, free: 9.797 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003102/0.7508, allocations: 316.2 kB / 1.546 GB, free: 9.484 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001392/0.7522, allocations: 404 kB / 1.546 GB, free: 9.09 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0137/0.7659, allocations: 6.081 MB / 1.552 GB, free: 2.801 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.411e-05/0.766, allocations: 3.938 kB / 1.552 GB, free: 2.797 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000543/0.7666, allocations: 187.9 kB / 1.552 GB, free: 2.613 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/0.7667, allocations: 168.1 kB / 1.552 GB, free: 2.445 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.644/1.411, allocations: 5.789 MB / 1.558 GB, free: 281.3 MB / 1.264 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.03838/1.449, allocations: 22.03 MB / 1.579 GB, free: 268.3 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008985/1.458, allocations: 3.765 MB / 1.583 GB, free: 266.8 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004099/1.462, allocations: 1.819 MB / 1.585 GB, free: 266.2 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002231/1.464, allocations: 2.556 MB / 1.587 GB, free: 263.4 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005122/1.47, allocations: 2.3 MB / 1.59 GB, free: 262.5 MB / 1.264 GB Notification: Performance of pre-optimization done (n=300): time 5.56e-06/1.47, allocations: 0 / 1.59 GB, free: 262.5 MB / 1.264 GB Notification: Performance of matching and sorting (n=300): time 0.01665/1.486, allocations: 7.131 MB / 1.597 GB, free: 258.3 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.585e-05/1.486, allocations: 239.5 kB / 1.597 GB, free: 258.1 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005057/1.491, allocations: 3.873 MB / 1.601 GB, free: 256 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0007117/1.492, allocations: 85.17 kB / 1.601 GB, free: 256 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001773/1.494, allocations: 2.108 MB / 1.603 GB, free: 254.4 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001328/1.495, allocations: 1.06 MB / 1.604 GB, free: 253.6 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009782/1.496, allocations: 0.6599 MB / 1.604 GB, free: 253.2 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 5.23e-05/1.496, allocations: 309 kB / 1.605 GB, free: 252.9 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003462/1.5, allocations: 1.723 MB / 1.606 GB, free: 252 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003933/1.504, allocations: 2.349 MB / 1.609 GB, free: 250.4 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007123/1.511, allocations: 4.126 MB / 1.613 GB, free: 247.8 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/1.511, allocations: 4 kB / 1.613 GB, free: 247.8 MB / 1.264 GB Notification: Performance of matching and sorting (n=410) (initialization): time 0.009986/1.521, allocations: 4.764 MB / 1.617 GB, free: 243 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/1.521, allocations: 16.25 kB / 1.617 GB, free: 243 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/1.521, allocations: 16 kB / 1.617 GB, free: 243 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/1.521, allocations: 108.7 kB / 1.617 GB, free: 242.9 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003631/1.525, allocations: 0.8307 MB / 1.618 GB, free: 242 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/1.527, allocations: 2.273 MB / 1.62 GB, free: 239.6 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004997/1.532, allocations: 489 kB / 1.621 GB, free: 239.2 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004021/1.532, allocations: 168.4 kB / 1.621 GB, free: 239 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005506/1.538, allocations: 3.077 MB / 1.624 GB, free: 235.9 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003606/1.542, allocations: 2.343 MB / 1.626 GB, free: 233.4 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006938/1.548, allocations: 4.12 MB / 1.63 GB, free: 229 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.144e-05/1.548, allocations: 4 kB / 1.63 GB, free: 229 MB / 1.264 GB Notification: Performance of matching and sorting (n=410) (initialization_lambda0): time 0.009743/1.558, allocations: 4.763 MB / 1.635 GB, free: 224.2 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/1.558, allocations: 12 kB / 1.635 GB, free: 224.2 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/1.558, allocations: 19.94 kB / 1.635 GB, free: 224.2 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/1.559, allocations: 112.5 kB / 1.635 GB, free: 224.1 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003693/1.563, allocations: 0.8229 MB / 1.636 GB, free: 223.3 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/1.564, allocations: 1.677 MB / 1.638 GB, free: 221.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005154/1.569, allocations: 419.4 kB / 1.638 GB, free: 221.1 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005948/1.57, allocations: 167.9 kB / 1.638 GB, free: 220.9 MB / 1.264 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 (408): * Single equations (assignments): 406 * Array equations: 0 * Algorithm blocks: 0 * 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.001313/1.571, allocations: 390.1 kB / 1.639 GB, free: 220.5 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001829/1.573, allocations: 433.2 kB / 1.639 GB, free: 220.1 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/1.586, allocations: 5.33 MB / 1.644 GB, free: 214.7 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00938/1.595, allocations: 4.264 MB / 1.648 GB, free: 210.4 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/1.595, allocations: 0 / 1.648 GB, free: 210.4 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002773/1.598, allocations: 1.092 MB / 1.649 GB, free: 209.3 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001434/1.6, allocations: 68.36 kB / 1.649 GB, free: 209.2 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004184/1.604, allocations: 238.6 kB / 1.65 GB, free: 209 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005344/1.604, allocations: 246.2 kB / 1.65 GB, free: 208.8 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01123/1.616, allocations: 4.903 MB / 1.655 GB, free: 203.8 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01186/1.627, allocations: 6.689 MB / 1.661 GB, free: 197.1 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003283/1.631, allocations: 1.854 MB / 1.663 GB, free: 195.2 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003824/1.635, allocations: 2.726 MB / 1.666 GB, free: 192.5 MB / 1.264 GB Notification: Performance of Backend: time 4.61e-07/1.635, allocations: 0 / 1.666 GB, free: 192.5 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01623/1.651, allocations: 6.086 MB / 1.672 GB, free: 186.7 MB / 1.264 GB Notification: Performance of SimCode: time 0.01795/1.669, allocations: 11.2 MB / 1.683 GB, free: 175.6 MB / 1.264 GB Notification: Performance of Templates: time 0.1492/1.818, allocations: 117.2 MB / 1.797 GB, free: 59.2 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches