Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol1.vol.9..T|solCol1.vol.18..T|solCol1.vol.27..T|solCol.m_flow|solCol.m_flow_nominal|solCol1.m_flow|solCol1.m_flow_nominal",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol1.vol.9..T|solCol1.vol.18..T|solCol1.vol.27..T|solCol.m_flow|solCol.m_flow_nominal|solCol1.m_flow|solCol1.m_flow_nominal",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 116.3 kB / 16.42 MB, free: 6.02 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.001787/0.001787, allocations: 184.3 kB / 17.35 MB, free: 5.633 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.149/2.149, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.707/0.7084, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea): time 0.06562/0.774, allocations: 62.46 MB / 1.15 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1947/0.9687, allocations: 168.6 MB / 1.314 GB, free: 6.664 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005021/0.9738, allocations: 95.5 kB / 1.314 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003972/0.9778, allocations: 1.132 MB / 1.315 GB, free: 5.43 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00985/0.9877, allocations: 3.084 MB / 1.318 GB, free: 2.336 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008634/0.9964, allocations: 3.206 MB / 1.322 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.04396/1.04, allocations: 43.37 MB / 1.364 GB, free: 3.672 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02713/1.068, allocations: 21.83 MB / 1.385 GB, free: 13.68 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02519/1.093, allocations: 14.74 MB / 1.4 GB, free: 15.01 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0191/1.112, allocations: 12.54 MB / 1.412 GB, free: 2.418 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.005945/1.118, allocations: 1.992 MB / 1.414 GB, free: 436 kB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01262/1.13, allocations: 3.708 MB / 1.417 GB, free: 12.71 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.008666/1.139, allocations: 4.865 MB / 1.422 GB, free: 7.836 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.01859/1.158, allocations: 9.767 MB / 1.432 GB, free: 14.02 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.03639/1.194, allocations: 27.76 MB / 1.459 GB, free: 2.188 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.194, allocations: 3.984 kB / 1.459 GB, free: 2.184 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.483e-06/1.194, allocations: 0 / 1.459 GB, free: 2.184 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0007972/1.195, allocations: 3.938 kB / 1.459 GB, free: 2.18 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3132 * Number of variables: 3132 Notification: Performance of Generate backend data structure: time 0.0477/1.243, allocations: 18.24 MB / 1.477 GB, free: 15.8 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/1.243, allocations: 8.031 kB / 1.477 GB, free: 15.79 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02157/1.264, allocations: 3.356 MB / 1.48 GB, free: 12.41 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03561/1.3, allocations: 15.96 MB / 1.496 GB, free: 12.35 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008627/1.301, allocations: 0.8708 MB / 1.496 GB, free: 11.48 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004074/1.305, allocations: 1.175 MB / 1.498 GB, free: 10.3 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04623/1.351, allocations: 18.4 MB / 1.515 GB, free: 7.367 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004672/1.352, allocations: 47.55 kB / 1.516 GB, free: 7.32 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003325/1.355, allocations: 0.4961 MB / 1.516 GB, free: 6.824 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000526/1.356, allocations: 0.5849 MB / 1.517 GB, free: 6.238 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03885/1.395, allocations: 16.49 MB / 1.533 GB, free: 5.723 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 1.061/2.455, allocations: 66.92 MB / 1.598 GB, free: 394 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02112/2.477, allocations: 10.66 MB / 1.608 GB, free: 392.5 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01133/2.488, allocations: 5.833 MB / 1.614 GB, free: 390.4 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002493/2.49, allocations: 2.419 MB / 1.617 GB, free: 388 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01356/2.504, allocations: 6.109 MB / 1.622 GB, free: 386 MB / 1.311 GB Notification: Performance of pre-optimization done (n=729): time 1.454e-05/2.504, allocations: 0 / 1.622 GB, free: 386 MB / 1.311 GB Notification: Performance of matching and sorting (n=729): time 0.03651/2.541, allocations: 14.64 MB / 1.637 GB, free: 381.4 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/2.541, allocations: 308.1 kB / 1.637 GB, free: 381.1 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01959/2.56, allocations: 12.23 MB / 1.649 GB, free: 377.2 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.00178/2.562, allocations: 176.2 kB / 1.649 GB, free: 377 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.005602/2.568, allocations: 6.509 MB / 1.656 GB, free: 372.8 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.003194/2.571, allocations: 2.516 MB / 1.658 GB, free: 370.9 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002926/2.574, allocations: 1.795 MB / 1.66 GB, free: 370.1 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 3.56e-05/2.574, allocations: 301.1 kB / 1.66 GB, free: 369.8 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009629/2.584, allocations: 4.899 MB / 1.665 GB, free: 368.1 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01129/2.595, allocations: 7.149 MB / 1.672 GB, free: 363.8 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02103/2.616, allocations: 12.41 MB / 1.684 GB, free: 356.3 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.905e-05/2.616, allocations: 18.38 kB / 1.684 GB, free: 356.3 MB / 1.311 GB Notification: Performance of matching and sorting (n=1136) (initialization): time 0.02919/2.645, allocations: 13.57 MB / 1.697 GB, free: 349.4 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/2.645, allocations: 31.53 kB / 1.697 GB, free: 349.4 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.234e-05/2.645, allocations: 70.41 kB / 1.697 GB, free: 349.4 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006973/2.646, allocations: 184 kB / 1.697 GB, free: 349.4 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01024/2.656, allocations: 2.258 MB / 1.7 GB, free: 348.8 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/2.658, allocations: 1.789 MB / 1.701 GB, free: 347.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01257/2.671, allocations: 1.365 MB / 1.703 GB, free: 346.1 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001294/2.672, allocations: 443.8 kB / 1.703 GB, free: 345.7 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01655/2.689, allocations: 9.327 MB / 1.712 GB, free: 336.4 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01079/2.7, allocations: 7.143 MB / 1.719 GB, free: 328.3 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0205/2.72, allocations: 12.4 MB / 1.731 GB, free: 314.9 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.406e-05/2.72, allocations: 20 kB / 1.731 GB, free: 314.9 MB / 1.311 GB Notification: Performance of matching and sorting (n=1136) (initialization_lambda0): time 0.02878/2.749, allocations: 13.56 MB / 1.745 GB, free: 301.3 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/2.749, allocations: 34.08 kB / 1.745 GB, free: 301.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.818e-05/2.749, allocations: 64 kB / 1.745 GB, free: 301.2 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/2.75, allocations: 197.2 kB / 1.745 GB, free: 301 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009753/2.76, allocations: 2.25 MB / 1.747 GB, free: 298.7 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/2.761, allocations: 1.79 MB / 1.749 GB, free: 296.8 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/2.774, allocations: 1.11 MB / 1.75 GB, free: 295.7 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001429/2.775, allocations: 439.8 kB / 1.75 GB, free: 295.3 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * Number of states: 0 () * Number of discrete variables: 29 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solCol1.HDirTil.incAng.decAng.tNext,$PRE.solCol1.HDirTil.incAng.decAng.tNext,solCol1.HDifTilIso.incAng.decAng.tNext,$PRE.solCol1.HDifTilIso.incAng.decAng.tNext,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,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1134): * Single equations (assignments): 1133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.00297/2.778, allocations: 0.7454 MB / 1.751 GB, free: 294.5 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004558/2.783, allocations: 1.142 MB / 1.752 GB, free: 293.4 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02688/2.809, allocations: 12.6 MB / 1.765 GB, free: 280.7 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01856/2.828, allocations: 9.685 MB / 1.774 GB, free: 270.9 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/2.828, allocations: 0 / 1.774 GB, free: 270.9 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007245/2.835, allocations: 2.848 MB / 1.777 GB, free: 268 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003411/2.839, allocations: 171.8 kB / 1.777 GB, free: 267.9 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01052/2.849, allocations: 0.6628 MB / 1.778 GB, free: 267.2 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009094/2.85, allocations: 449.2 kB / 1.778 GB, free: 266.8 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02669/2.877, allocations: 11.53 MB / 1.789 GB, free: 255.3 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03244/2.909, allocations: 18.09 MB / 1.807 GB, free: 237.1 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01085/2.92, allocations: 5.239 MB / 1.812 GB, free: 231.8 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.01536/2.936, allocations: 8.637 MB / 1.82 GB, free: 223.2 MB / 1.311 GB Notification: Performance of Backend: time 7.52e-07/2.936, allocations: 0 / 1.82 GB, free: 223.2 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0392/2.975, allocations: 15.19 MB / 1.835 GB, free: 208.4 MB / 1.311 GB Notification: Performance of SimCode: time 0.06692/3.042, allocations: 32.92 MB / 1.867 GB, free: 175.7 MB / 1.311 GB Notification: Performance of Templates: time 1.311/4.353, allocations: 314.4 MB / 2.174 GB, free: 437 MB / 1.373 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches