Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|heaHigPowIn.T|heaHigPowOut.T|heaHigPow.TSet|cooLimPowIn.T|cooLimPowOut.T|cooLimPow.TSet|heaCooUnlIn.T|heaCooUnlOut.T|heaCooUnl.TSet|heaHigPow.QMax_flow|heaHigPow.Q_flow|cooLimPow.QMin_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|heaHigPowIn.T|heaHigPowOut.T|heaHigPow.TSet|cooLimPowIn.T|cooLimPowOut.T|cooLimPow.TSet|heaCooUnlIn.T|heaCooUnlOut.T|heaCooUnl.TSet|heaHigPow.QMax_flow|heaHigPow.Q_flow|cooLimPow.QMin_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 114.8 kB / 16.42 MB, free: 6.496 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.001542/0.001542, allocations: 183.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.38/1.38, 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.177/2.177, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.89 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.767/0.7683, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic): time 0.06039/0.8288, allocations: 62.23 MB / 1.149 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01698/0.8458, allocations: 11.44 MB / 1.161 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.8485, allocations: 81.44 kB / 1.161 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.8508, allocations: 0.808 MB / 1.161 GB, free: 248 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005558/0.8563, allocations: 2.033 MB / 1.163 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005441/0.8618, allocations: 2.036 MB / 1.165 GB, free: 13.99 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005931/0.8677, allocations: 3.934 MB / 1.169 GB, free: 12.14 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.87, allocations: 1.27 MB / 1.171 GB, free: 11.55 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004574/0.8746, allocations: 1.926 MB / 1.172 GB, free: 10.64 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/0.8772, allocations: 1.255 MB / 1.174 GB, free: 10.04 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000442/0.8776, allocations: 124.8 kB / 1.174 GB, free: 10.04 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.8817, allocations: 1.548 MB / 1.175 GB, free: 9.199 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005395/0.8822, allocations: 370.7 kB / 1.176 GB, free: 8.914 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.884, allocations: 0.897 MB / 1.176 GB, free: 8.324 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005163/0.8891, allocations: 2.629 MB / 1.179 GB, free: 6.625 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8892, allocations: 0.8125 kB / 1.179 GB, free: 6.625 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8892, allocations: 0 / 1.179 GB, free: 6.625 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.006e-05/0.8893, allocations: 0 / 1.179 GB, free: 6.625 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.004581/0.8939, allocations: 2.18 MB / 1.181 GB, free: 4.953 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.8939, allocations: 9.344 kB / 1.181 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003681/0.8976, allocations: 0.6099 MB / 1.182 GB, free: 4.672 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002788/0.9004, allocations: 1.317 MB / 1.183 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-05/0.9005, allocations: 82.34 kB / 1.183 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.9007, allocations: 117.5 kB / 1.183 GB, free: 3.586 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/0.9036, allocations: 1.364 MB / 1.185 GB, free: 2.723 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.9036, allocations: 1.156 kB / 1.185 GB, free: 2.723 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.9037, allocations: 42.91 kB / 1.185 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.9038, allocations: 25.03 kB / 1.185 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003408/0.9072, allocations: 1.224 MB / 1.186 GB, free: 2.113 MB / 0.92 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.009033/0.9162, allocations: 6.631 MB / 1.192 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003283/0.9195, allocations: 1.197 MB / 1.193 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.9212, allocations: 0.6552 MB / 1.194 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/0.923, allocations: 2.251 MB / 1.196 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001959/0.9249, allocations: 0.8048 MB / 1.197 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=97): time 3.867e-06/0.9249, allocations: 0 / 1.197 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=97): time 0.005919/0.9309, allocations: 2.132 MB / 1.199 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.931, allocations: 149.9 kB / 1.199 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.9328, allocations: 1.235 MB / 1.201 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.933, allocations: 44.33 kB / 1.201 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006108/0.9336, allocations: 0.7071 MB / 1.201 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/0.9339, allocations: 317.5 kB / 1.202 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003293/0.9342, allocations: 209.8 kB / 1.202 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002252/0.9345, allocations: 355.5 kB / 1.202 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.9361, allocations: 0.5704 MB / 1.203 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.9379, allocations: 0.8301 MB / 1.203 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003431/0.9414, allocations: 1.506 MB / 1.205 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.9414, allocations: 2.281 kB / 1.205 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004689/0.9461, allocations: 1.763 MB / 1.207 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.008e-05/0.9462, allocations: 104.2 kB / 1.207 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.9462, allocations: 6.219 kB / 1.207 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.9463, allocations: 9.625 kB / 1.207 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.9476, allocations: 290.1 kB / 1.207 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/0.9476, allocations: 14.47 kB / 1.207 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.9492, allocations: 188.9 kB / 1.207 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.9494, allocations: 58.97 kB / 1.207 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002128/0.9515, allocations: 0.8095 MB / 1.208 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001849/0.9534, allocations: 0.8323 MB / 1.209 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003387/0.9568, allocations: 1.483 MB / 1.21 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.012e-06/0.9568, allocations: 0 / 1.21 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.004306/0.9611, allocations: 1.765 MB / 1.212 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.922e-05/0.9612, allocations: 107.6 kB / 1.212 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.9612, allocations: 4.719 kB / 1.212 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.9612, allocations: 12 kB / 1.212 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.9625, allocations: 287.6 kB / 1.212 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.9625, allocations: 15.94 kB / 1.213 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.9642, allocations: 183.1 kB / 1.213 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.9643, allocations: 55.97 kB / 1.213 GB, free: 13.07 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 (TSetCoolHeat.nextEventScaled,TSetCoolHeat.nextEvent,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.b,TSetCoolHeat.a,TSetCool.nextEventScaled,TSetCool.nextEvent,$PRE.TSetCool.nextEvent,TSetCool.last,TSetCool.b,TSetCool.a,TSetHeat.nextEventScaled,TSetHeat.nextEvent,$PRE.TSetHeat.nextEvent,TSetHeat.last,TSetHeat.b,TSetHeat.a,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * 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.000422/0.9647, allocations: 350.8 kB / 1.213 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004105/0.9652, allocations: 158.1 kB / 1.213 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005267/0.9704, allocations: 2.274 MB / 1.215 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.9705, allocations: 3.984 kB / 1.215 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.9705, allocations: 0 / 1.215 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000826/0.9713, allocations: 390.5 kB / 1.216 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003522/0.9717, allocations: 31.94 kB / 1.216 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.9729, allocations: 111.9 kB / 1.216 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.973, allocations: 68.91 kB / 1.216 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005464/0.9785, allocations: 2.263 MB / 1.218 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006547/0.9851, allocations: 3.112 MB / 1.221 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001919/0.987, allocations: 0.8748 MB / 1.222 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001335/0.9883, allocations: 0.8343 MB / 1.223 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of Backend: time 6.52e-07/0.9884, allocations: 0 / 1.223 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00675/0.9951, allocations: 2.657 MB / 1.226 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of SimCode: time 0.006122/1.001, allocations: 3.772 MB / 1.229 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of Templates: time 0.0578/1.059, allocations: 37.66 MB / 1.266 GB, free: 6.684 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches