Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 117.6 kB / 16.42 MB, free: 6.5 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.001682/0.001682, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.288/1.288, allocations: 222.9 MB / 241.1 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.154/2.154, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 59.91 kB / 0.9516 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6766/0.678, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02854/0.7066, allocations: 29.34 MB / 1.117 GB, free: 500 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.7168, allocations: 6.887 MB / 1.124 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.718, allocations: 46.53 kB / 1.124 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.7196, allocations: 0.7048 MB / 1.125 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.723, allocations: 1.51 MB / 1.126 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002839/0.7259, allocations: 1.153 MB / 1.127 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003/0.7289, allocations: 2.479 MB / 1.13 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.7303, allocations: 0.797 MB / 1.131 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.7323, allocations: 1.044 MB / 1.132 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.7338, allocations: 0.8123 MB / 1.132 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002644/0.7341, allocations: 66.5 kB / 1.132 GB, free: 7.609 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.7362, allocations: 0.8171 MB / 1.133 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004525/0.7366, allocations: 279.6 kB / 1.133 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009632/0.7376, allocations: 0.5492 MB / 1.134 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.7403, allocations: 1.623 MB / 1.136 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.7403, allocations: 1.094 kB / 1.136 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7403, allocations: 4 kB / 1.136 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.7403, allocations: 0 / 1.136 GB, free: 6.172 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002722/0.7431, allocations: 1.561 MB / 1.137 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.7431, allocations: 13.33 kB / 1.137 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003526/0.7466, allocations: 0.589 MB / 1.138 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.7481, allocations: 0.8675 MB / 1.139 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.7482, allocations: 57.84 kB / 1.139 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.7483, allocations: 78.44 kB / 1.139 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.7508, allocations: 1.104 MB / 1.14 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.7508, allocations: 1.062 kB / 1.14 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-05/0.7509, allocations: 29.23 kB / 1.14 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.751, allocations: 19 kB / 1.14 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/0.7541, allocations: 1.001 MB / 1.141 GB, free: 3.625 MB / 0.8887 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.005776/0.7599, allocations: 4.941 MB / 1.146 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003083/0.763, allocations: 0.9065 MB / 1.147 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/0.7645, allocations: 496.3 kB / 1.147 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.7659, allocations: 1.591 MB / 1.149 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/0.7677, allocations: 0.5683 MB / 1.149 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=61): time 2.755e-06/0.7677, allocations: 5.188 kB / 1.149 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=61): time 0.004934/0.7726, allocations: 1.485 MB / 1.151 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.7727, allocations: 58.12 kB / 1.151 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.774, allocations: 1.118 MB / 1.152 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.082e-05/0.774, allocations: 43.03 kB / 1.152 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004353/0.7745, allocations: 0.5419 MB / 1.152 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.7747, allocations: 209.1 kB / 1.152 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.775, allocations: 165.5 kB / 1.153 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.7751, allocations: 338.6 kB / 1.153 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.7766, allocations: 450.7 kB / 1.153 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.7783, allocations: 0.7157 MB / 1.154 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003089/0.7814, allocations: 1.116 MB / 1.155 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.7814, allocations: 3.5 kB / 1.155 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003608/0.785, allocations: 1.28 MB / 1.156 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.7851, allocations: 6.406 kB / 1.156 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.7851, allocations: 9.453 kB / 1.156 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.7851, allocations: 11.84 kB / 1.156 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.7863, allocations: 268.7 kB / 1.157 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/0.7864, allocations: 16.77 kB / 1.157 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.7876, allocations: 181.2 kB / 1.157 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.7877, allocations: 47.78 kB / 1.157 GB, free: 9.762 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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.0004295/0.7881, allocations: 288.2 kB / 1.157 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.7883, allocations: 122.3 kB / 1.157 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003873/0.7922, allocations: 1.363 MB / 1.159 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.7922, allocations: 3.984 kB / 1.159 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.7922, allocations: 0 / 1.159 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/0.7927, allocations: 276.4 kB / 1.159 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.7929, allocations: 15.31 kB / 1.159 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000895/0.7938, allocations: 104.7 kB / 1.159 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/0.7939, allocations: 41.88 kB / 1.159 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004135/0.798, allocations: 1.347 MB / 1.16 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005158/0.8032, allocations: 2.031 MB / 1.162 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001588/0.8048, allocations: 0.5463 MB / 1.163 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001019/0.8058, allocations: 0.7629 MB / 1.164 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of Backend: time 9.92e-07/0.8058, allocations: 1.406 kB / 1.164 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004365/0.8102, allocations: 1.34 MB / 1.165 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of SimCode: time 0.004216/0.8144, allocations: 2.563 MB / 1.167 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.03822/0.8527, allocations: 21.79 MB / 1.189 GB, free: 6.859 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches