Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001859/0.001858, allocations: 114 kB / 16.42 MB, free: 6.441 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.001958/0.001958, allocations: 189.6 kB / 17.35 MB, free: 5.727 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.535/2.535, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.89 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7318/0.7332, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea): time 0.0625/0.7957, allocations: 65.13 MB / 1.272 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1944/0.9901, allocations: 168.9 MB / 1.437 GB, free: 2.789 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007094/0.9973, allocations: 99.44 kB / 1.437 GB, free: 2.691 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004857/1.002, allocations: 1.225 MB / 1.438 GB, free: 1.457 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01246/1.015, allocations: 3.313 MB / 1.441 GB, free: 14.13 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.009966/1.025, allocations: 3.236 MB / 1.445 GB, free: 10.91 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.04906/1.074, allocations: 43.8 MB / 1.487 GB, free: 14.99 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03823/1.112, allocations: 21.73 MB / 1.509 GB, free: 9.105 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03278/1.145, allocations: 14.82 MB / 1.523 GB, free: 10.35 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02424/1.169, allocations: 12.61 MB / 1.535 GB, free: 13.68 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.009058/1.178, allocations: 1.992 MB / 1.537 GB, free: 11.69 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01702/1.195, allocations: 3.704 MB / 1.541 GB, free: 7.988 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.01092/1.206, allocations: 4.865 MB / 1.546 GB, free: 3.109 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.02506/1.231, allocations: 9.861 MB / 1.555 GB, free: 9.203 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 1.617/2.848, allocations: 27.91 MB / 1.583 GB, free: 84.66 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/2.848, allocations: 0 / 1.583 GB, free: 84.66 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.775e-06/2.848, allocations: 1.031 kB / 1.583 GB, free: 84.66 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.001268/2.85, allocations: 1.422 kB / 1.583 GB, free: 84.66 MB / 1.279 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.05938/2.909, allocations: 18.31 MB / 1.6 GB, free: 78.39 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/2.909, allocations: 9.219 kB / 1.6 GB, free: 78.39 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02385/2.933, allocations: 3.369 MB / 1.604 GB, free: 77.52 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03624/2.969, allocations: 15.96 MB / 1.619 GB, free: 75.54 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000809/2.97, allocations: 0.8718 MB / 1.62 GB, free: 75.51 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005724/2.976, allocations: 1.171 MB / 1.621 GB, free: 75.5 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05385/3.03, allocations: 18.41 MB / 1.639 GB, free: 73.78 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005164/3.03, allocations: 35.09 kB / 1.639 GB, free: 73.77 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00529/3.035, allocations: 0.5052 MB / 1.64 GB, free: 73.77 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005486/3.036, allocations: 0.5837 MB / 1.64 GB, free: 73.75 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04406/3.08, allocations: 16.49 MB / 1.657 GB, free: 73.6 MB / 1.279 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.1139/3.194, allocations: 67.64 MB / 1.723 GB, free: 24.19 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0177/3.212, allocations: 10.66 MB / 1.733 GB, free: 13.74 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00931/3.221, allocations: 5.822 MB / 1.739 GB, free: 7.902 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002268/3.223, allocations: 2.427 MB / 1.741 GB, free: 5.043 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01216/3.236, allocations: 6.096 MB / 1.747 GB, free: 14.89 MB / 1.295 GB Notification: Performance of pre-optimization done (n=729): time 9.848e-06/3.236, allocations: 0 / 1.747 GB, free: 14.89 MB / 1.295 GB Notification: Performance of matching and sorting (n=729): time 0.03623/3.272, allocations: 14.63 MB / 1.761 GB, free: 176 kB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001877/3.272, allocations: 309 kB / 1.762 GB, free: 15.81 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02711/3.299, allocations: 12.23 MB / 1.774 GB, free: 3.648 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.002226/3.301, allocations: 177.7 kB / 1.774 GB, free: 3.469 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.009281/3.311, allocations: 6.502 MB / 1.78 GB, free: 12.95 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.005079/3.316, allocations: 2.522 MB / 1.783 GB, free: 10.45 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006259/3.322, allocations: 1.793 MB / 1.784 GB, free: 8.641 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001038/3.322, allocations: 302.4 kB / 1.785 GB, free: 8.344 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0107/3.333, allocations: 4.9 MB / 1.789 GB, free: 3.422 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01267/3.346, allocations: 7.154 MB / 1.796 GB, free: 11.36 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02452/3.37, allocations: 12.41 MB / 1.808 GB, free: 14.28 MB / 1.358 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-05/3.37, allocations: 20 kB / 1.808 GB, free: 14.26 MB / 1.358 GB Notification: Performance of matching and sorting (n=1136) (initialization): time 0.03503/3.405, allocations: 13.57 MB / 1.822 GB, free: 1.023 MB / 1.358 GB Notification: Performance of prepare postOptimizeDAE: time 7.818e-05/3.405, allocations: 32 kB / 1.822 GB, free: 0.9922 MB / 1.358 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/3.405, allocations: 64 kB / 1.822 GB, free: 0.9297 MB / 1.358 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007623/3.406, allocations: 184.9 kB / 1.822 GB, free: 0.7461 MB / 1.358 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01132/3.418, allocations: 2.255 MB / 1.824 GB, free: 14.62 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/3.42, allocations: 1.788 MB / 1.826 GB, free: 12.72 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0155/3.436, allocations: 1.368 MB / 1.827 GB, free: 11.34 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002286/3.438, allocations: 436.9 kB / 1.828 GB, free: 10.92 MB / 1.373 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02272/3.461, allocations: 9.334 MB / 1.837 GB, free: 1.57 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01472/3.475, allocations: 7.153 MB / 1.844 GB, free: 9.508 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02726/3.503, allocations: 12.4 MB / 1.856 GB, free: 12.43 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.044e-05/3.503, allocations: 20 kB / 1.856 GB, free: 12.41 MB / 1.404 GB Notification: Performance of matching and sorting (n=1136) (initialization_lambda0): time 0.04263/3.545, allocations: 13.55 MB / 1.869 GB, free: 15.18 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 9.876e-05/3.546, allocations: 37.72 kB / 1.869 GB, free: 15.15 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/3.546, allocations: 68.78 kB / 1.869 GB, free: 15.09 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007322/3.546, allocations: 184.8 kB / 1.869 GB, free: 14.9 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01312/3.56, allocations: 2.257 MB / 1.872 GB, free: 12.77 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/3.562, allocations: 1.78 MB / 1.873 GB, free: 10.89 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01612/3.578, allocations: 1.102 MB / 1.874 GB, free: 9.777 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0028/3.581, allocations: 439.8 kB / 1.875 GB, free: 9.348 MB / 1.42 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.005056/3.586, allocations: 0.7481 MB / 1.876 GB, free: 8.723 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006677/3.593, allocations: 1.146 MB / 1.877 GB, free: 7.562 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03882/3.632, allocations: 12.61 MB / 1.889 GB, free: 10.88 MB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02681/3.659, allocations: 9.663 MB / 1.898 GB, free: 1.105 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.372e-05/3.659, allocations: 0 / 1.898 GB, free: 1.105 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0101/3.669, allocations: 2.844 MB / 1.901 GB, free: 14.23 MB / 1.451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005469/3.674, allocations: 167.8 kB / 1.901 GB, free: 14.06 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01359/3.688, allocations: 0.6692 MB / 1.902 GB, free: 13.4 MB / 1.451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002374/3.69, allocations: 449.2 kB / 1.902 GB, free: 12.96 MB / 1.451 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03618/3.726, allocations: 11.53 MB / 1.914 GB, free: 1.492 MB / 1.451 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04606/3.773, allocations: 18.09 MB / 1.931 GB, free: 15.31 MB / 1.483 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01177/3.784, allocations: 5.239 MB / 1.937 GB, free: 10.05 MB / 1.483 GB Notification: Performance of sorting global known variables: time 0.01984/3.804, allocations: 8.64 MB / 1.945 GB, free: 1.438 MB / 1.483 GB Notification: Performance of Backend: time 9.02e-07/3.804, allocations: 0 / 1.945 GB, free: 1.438 MB / 1.483 GB Notification: Performance of simCode: created initialization part: time 0.05194/3.856, allocations: 15.2 MB / 1.96 GB, free: 3.055 MB / 1.498 GB Notification: Performance of SimCode: time 0.08611/3.942, allocations: 32.94 MB / 1.992 GB, free: 2.379 MB / 1.529 GB Notification: Performance of Templates: time 1.039/4.981, allocations: 316 MB / 2.301 GB, free: 0.6497 GB / 1.717 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches