Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001434/0.001434, allocations: 112.7 kB / 16.42 MB, free: 6.492 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.001548/0.001548, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.351/1.351, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.402/2.402, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 63.84 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7395/0.741, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic): time 0.0594/0.8005, allocations: 62.24 MB / 1.228 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01708/0.8176, allocations: 11.43 MB / 1.239 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.8199, allocations: 79.44 kB / 1.239 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.8221, allocations: 0.815 MB / 1.24 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.8272, allocations: 2.03 MB / 1.242 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005405/0.8326, allocations: 2.035 MB / 1.244 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00579/0.8384, allocations: 3.943 MB / 1.248 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002415/0.8409, allocations: 1.264 MB / 1.249 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004562/0.8455, allocations: 1.926 MB / 1.251 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/0.8481, allocations: 1.264 MB / 1.252 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004769/0.8486, allocations: 124 kB / 1.252 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.8523, allocations: 1.544 MB / 1.254 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006214/0.8529, allocations: 374.5 kB / 1.254 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001752/0.8547, allocations: 0.8899 MB / 1.255 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00567/0.8604, allocations: 2.643 MB / 1.258 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.8604, allocations: 0 / 1.258 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8604, allocations: 4 kB / 1.258 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.972e-05/0.8605, allocations: 4 kB / 1.258 GB, free: 6.902 MB / 0.9825 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.004659/0.8652, allocations: 2.249 MB / 1.26 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.8652, allocations: 11.97 kB / 1.26 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003592/0.8688, allocations: 0.6192 MB / 1.261 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.8716, allocations: 1.337 MB / 1.262 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.643e-05/0.8717, allocations: 78 kB / 1.262 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002596/0.872, allocations: 111.9 kB / 1.262 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/0.8753, allocations: 1.362 MB / 1.263 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.8753, allocations: 0 / 1.263 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.822e-05/0.8754, allocations: 40 kB / 1.263 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.8754, allocations: 28 kB / 1.263 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003473/0.8789, allocations: 1.225 MB / 1.265 GB, free: 15.64 MB / 0.9981 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.009272/0.8882, allocations: 6.645 MB / 1.271 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/0.8916, allocations: 1.194 MB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.8932, allocations: 0.6553 MB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001785/0.895, allocations: 2.244 MB / 1.275 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001876/0.8969, allocations: 0.8153 MB / 1.276 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=97): time 3.817e-06/0.8969, allocations: 0 / 1.276 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97): time 0.005628/0.9026, allocations: 2.13 MB / 1.278 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/0.9027, allocations: 149.2 kB / 1.278 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.9048, allocations: 1.238 MB / 1.279 GB, free: 15.44 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.9049, allocations: 45.7 kB / 1.279 GB, free: 15.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006643/0.9056, allocations: 0.7102 MB / 1.28 GB, free: 14.67 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003513/0.906, allocations: 337.1 kB / 1.28 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003855/0.9064, allocations: 210.6 kB / 1.281 GB, free: 14.13 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.9065, allocations: 345.9 kB / 1.281 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.9081, allocations: 0.5749 MB / 1.282 GB, free: 13.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.91, allocations: 0.8335 MB / 1.282 GB, free: 12.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003378/0.9134, allocations: 1.497 MB / 1.284 GB, free: 10.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.9134, allocations: 3.938 kB / 1.284 GB, free: 10.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004264/0.9177, allocations: 1.778 MB / 1.286 GB, free: 8.859 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/0.9178, allocations: 105.1 kB / 1.286 GB, free: 8.738 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.9178, allocations: 4 kB / 1.286 GB, free: 8.734 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.9178, allocations: 11.94 kB / 1.286 GB, free: 8.723 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.9191, allocations: 287.9 kB / 1.286 GB, free: 8.441 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.237e-05/0.9192, allocations: 23.92 kB / 1.286 GB, free: 8.418 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.9206, allocations: 187.2 kB / 1.286 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.9208, allocations: 51.98 kB / 1.286 GB, free: 8.184 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001963/0.9227, allocations: 0.8066 MB / 1.287 GB, free: 7.375 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00175/0.9245, allocations: 0.8332 MB / 1.288 GB, free: 6.438 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003232/0.9277, allocations: 1.489 MB / 1.289 GB, free: 4.836 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.316e-06/0.9278, allocations: 7.938 kB / 1.289 GB, free: 4.828 MB / 1.014 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.004193/0.932, allocations: 1.755 MB / 1.291 GB, free: 3.047 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.434e-05/0.9321, allocations: 113 kB / 1.291 GB, free: 2.918 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.9321, allocations: 4 kB / 1.291 GB, free: 2.914 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.9321, allocations: 12 kB / 1.291 GB, free: 2.902 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.9334, allocations: 288 kB / 1.291 GB, free: 2.621 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.9335, allocations: 19.92 kB / 1.291 GB, free: 2.602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.9349, allocations: 175.3 kB / 1.292 GB, free: 2.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.9351, allocations: 55.97 kB / 1.292 GB, free: 2.375 MB / 1.014 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.0003892/0.9355, allocations: 355.8 kB / 1.292 GB, free: 2.004 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/0.9359, allocations: 167 kB / 1.292 GB, free: 1.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005242/0.9411, allocations: 2.279 MB / 1.294 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.9411, allocations: 3.984 kB / 1.294 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.9412, allocations: 0 / 1.294 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007137/0.9419, allocations: 395.4 kB / 1.295 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/0.9422, allocations: 32 kB / 1.295 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.9434, allocations: 115.8 kB / 1.295 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.9435, allocations: 72.91 kB / 1.295 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005636/0.9492, allocations: 2.263 MB / 1.297 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006497/0.9557, allocations: 3.113 MB / 1.3 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001913/0.9576, allocations: 0.8709 MB / 1.301 GB, free: 8.586 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001374/0.959, allocations: 0.8304 MB / 1.302 GB, free: 7.758 MB / 1.029 GB Notification: Performance of Backend: time 6.21e-07/0.959, allocations: 0 / 1.302 GB, free: 7.758 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00647/0.9655, allocations: 2.674 MB / 1.304 GB, free: 5.023 MB / 1.029 GB Notification: Performance of SimCode: time 0.006112/0.9717, allocations: 3.832 MB / 1.308 GB, free: 1.109 MB / 1.029 GB Notification: Performance of Templates: time 0.06079/1.032, allocations: 37.63 MB / 1.345 GB, free: 11.84 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches