Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.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.HeatExchangers.Validation.PrescribedOutlet,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_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,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_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.001676/0.001676, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 469.4 MB / 0.7428 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.91 kB / 1.066 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.798/0.7995, allocations: 159.1 MB / 1.221 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.05985/0.8594, allocations: 62.22 MB / 1.282 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01575/0.8752, allocations: 11.44 MB / 1.293 GB, free: 8.406 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002154/0.8774, allocations: 83.5 kB / 1.293 GB, free: 8.324 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.8795, allocations: 0.8188 MB / 1.294 GB, free: 7.5 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005146/0.8847, allocations: 2.021 MB / 1.296 GB, free: 5.469 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005132/0.8899, allocations: 2.046 MB / 1.298 GB, free: 3.426 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00568/0.8955, allocations: 3.935 MB / 1.302 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00215/0.8977, allocations: 1.275 MB / 1.303 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004482/0.9022, allocations: 1.922 MB / 1.305 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.9046, allocations: 1.256 MB / 1.306 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002948/0.9049, allocations: 128 kB / 1.306 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003589/0.9085, allocations: 1.548 MB / 1.308 GB, free: 9.305 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004726/0.909, allocations: 370.5 kB / 1.308 GB, free: 8.941 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.9105, allocations: 0.8898 MB / 1.309 GB, free: 8.047 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004776/0.9153, allocations: 2.631 MB / 1.311 GB, free: 5.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.9154, allocations: 4 kB / 1.311 GB, free: 5.406 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9154, allocations: 0 / 1.311 GB, free: 5.406 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.086e-05/0.9154, allocations: 0 / 1.311 GB, free: 5.406 MB / 1.029 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.003535/0.919, allocations: 2.176 MB / 1.313 GB, free: 3.152 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.919, allocations: 8.625 kB / 1.313 GB, free: 3.145 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003535/0.9226, allocations: 0.6065 MB / 1.314 GB, free: 2.535 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.9252, allocations: 1.316 MB / 1.315 GB, free: 1.168 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.9253, allocations: 78 kB / 1.315 GB, free: 1.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.9255, allocations: 107.9 kB / 1.315 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.9285, allocations: 1.347 MB / 1.317 GB, free: 15.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.9285, allocations: 0 / 1.317 GB, free: 15.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.9286, allocations: 47.94 kB / 1.317 GB, free: 15.52 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.9287, allocations: 27.98 kB / 1.317 GB, free: 15.5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00353/0.9322, allocations: 1.261 MB / 1.318 GB, free: 14.24 MB / 1.045 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.009079/0.9413, allocations: 6.393 MB / 1.324 GB, free: 7.332 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003186/0.9445, allocations: 1.222 MB / 1.326 GB, free: 6.098 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002268/0.9468, allocations: 0.6635 MB / 1.326 GB, free: 5.434 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001699/0.9485, allocations: 2.249 MB / 1.328 GB, free: 2.684 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001964/0.9505, allocations: 0.8172 MB / 1.329 GB, free: 1.836 MB / 1.045 GB Notification: Performance of pre-optimization done (n=100): time 3.536e-06/0.9505, allocations: 0 / 1.329 GB, free: 1.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=100): time 0.005685/0.9562, allocations: 2.167 MB / 1.331 GB, free: 15.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.9563, allocations: 153.5 kB / 1.331 GB, free: 15.47 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.9582, allocations: 1.213 MB / 1.333 GB, free: 14.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.9583, allocations: 41.7 kB / 1.333 GB, free: 14.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/0.9589, allocations: 0.686 MB / 1.333 GB, free: 13.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/0.9592, allocations: 327.3 kB / 1.334 GB, free: 13.18 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003261/0.9595, allocations: 198.5 kB / 1.334 GB, free: 12.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.9597, allocations: 345.9 kB / 1.334 GB, free: 12.63 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.9613, allocations: 0.5668 MB / 1.335 GB, free: 12.06 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001905/0.9632, allocations: 0.7764 MB / 1.335 GB, free: 11.21 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003395/0.9666, allocations: 1.45 MB / 1.337 GB, free: 9.672 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.9666, allocations: 3.938 kB / 1.337 GB, free: 9.668 MB / 1.061 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004319/0.971, allocations: 1.746 MB / 1.339 GB, free: 7.895 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-05/0.9711, allocations: 109 kB / 1.339 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.9711, allocations: 4 kB / 1.339 GB, free: 7.766 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.9711, allocations: 8 kB / 1.339 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.9724, allocations: 279.9 kB / 1.339 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/0.9724, allocations: 8 kB / 1.339 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.9739, allocations: 171 kB / 1.339 GB, free: 7.309 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.974, allocations: 51.98 kB / 1.339 GB, free: 7.258 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001986/0.976, allocations: 0.8063 MB / 1.34 GB, free: 6.449 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001763/0.9778, allocations: 0.7725 MB / 1.341 GB, free: 5.602 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003276/0.9811, allocations: 1.442 MB / 1.342 GB, free: 4.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.03e-06/0.9811, allocations: 0 / 1.342 GB, free: 4.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.004228/0.9853, allocations: 1.726 MB / 1.344 GB, free: 2.312 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.286e-05/0.9854, allocations: 109.6 kB / 1.344 GB, free: 2.188 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.9854, allocations: 8 kB / 1.344 GB, free: 2.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.9855, allocations: 8 kB / 1.344 GB, free: 2.172 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.9867, allocations: 271.6 kB / 1.344 GB, free: 1.906 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.9868, allocations: 8 kB / 1.344 GB, free: 1.898 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.9882, allocations: 167.2 kB / 1.344 GB, free: 1.734 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.9883, allocations: 51.97 kB / 1.344 GB, free: 1.684 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (111): * Single equations (assignments): 108 * 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.0003933/0.9887, allocations: 350.8 kB / 1.345 GB, free: 1.316 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/0.9891, allocations: 166 kB / 1.345 GB, free: 1.152 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005247/0.9943, allocations: 2.303 MB / 1.347 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.9944, allocations: 3.984 kB / 1.347 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.9944, allocations: 4 kB / 1.347 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007427/0.9951, allocations: 390.5 kB / 1.348 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003118/0.9955, allocations: 32 kB / 1.348 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.9966, allocations: 111.9 kB / 1.348 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.9968, allocations: 76.84 kB / 1.348 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005482/1.002, allocations: 2.275 MB / 1.35 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007289/1.01, allocations: 3.124 MB / 1.353 GB, free: 8.695 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001927/1.012, allocations: 0.8904 MB / 1.354 GB, free: 7.805 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001437/1.013, allocations: 0.822 MB / 1.355 GB, free: 6.984 MB / 1.076 GB Notification: Performance of Backend: time 5.61e-07/1.013, allocations: 0 / 1.355 GB, free: 6.984 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007037/1.02, allocations: 2.63 MB / 1.357 GB, free: 4.289 MB / 1.076 GB Notification: Performance of SimCode: time 0.006198/1.026, allocations: 3.615 MB / 1.361 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of Templates: time 0.06306/1.089, allocations: 37.43 MB / 1.397 GB, free: 11.57 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches