Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_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_latest_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_latest_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.001852/0.001852, allocations: 110.4 kB / 16.41 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.002182/0.002182, allocations: 189.6 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 2.292/2.292, 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 11.0.1-master/package.mo): time 3.987/3.987, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 71.84 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.083, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic): time 0.07393/1.157, allocations: 62.24 MB / 1.269 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02193/1.179, allocations: 11.44 MB / 1.28 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003458/1.182, allocations: 75.5 kB / 1.28 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003702/1.186, allocations: 0.8032 MB / 1.281 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008676/1.195, allocations: 1.927 MB / 1.283 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008639/1.204, allocations: 2.016 MB / 1.285 GB, free: 14.85 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008536/1.212, allocations: 3.92 MB / 1.289 GB, free: 10.92 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003208/1.215, allocations: 1.279 MB / 1.29 GB, free: 9.613 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006892/1.222, allocations: 1.903 MB / 1.292 GB, free: 7.703 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00355/1.226, allocations: 1.264 MB / 1.293 GB, free: 6.434 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006528/1.227, allocations: 124 kB / 1.293 GB, free: 6.312 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005401/1.232, allocations: 1.544 MB / 1.295 GB, free: 4.766 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008863/1.233, allocations: 378.5 kB / 1.295 GB, free: 4.395 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001908/1.235, allocations: 0.8899 MB / 1.296 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004984/1.24, allocations: 2.638 MB / 1.299 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.24, allocations: 0 / 1.299 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.114e-06/1.24, allocations: 0 / 1.299 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.791e-05/1.24, allocations: 0 / 1.299 GB, free: 0.8555 MB / 1.014 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.00429/1.244, allocations: 2.182 MB / 1.301 GB, free: 14.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 8.369e-05/1.245, allocations: 8.031 kB / 1.301 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003786/1.248, allocations: 0.6181 MB / 1.301 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002671/1.251, allocations: 1.316 MB / 1.303 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.503e-05/1.251, allocations: 81.94 kB / 1.303 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002541/1.251, allocations: 115.9 kB / 1.303 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/1.255, allocations: 1.35 MB / 1.304 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/1.255, allocations: 7.938 kB / 1.304 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.255, allocations: 40 kB / 1.304 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/1.255, allocations: 28 kB / 1.304 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003447/1.258, allocations: 1.225 MB / 1.306 GB, free: 9.676 MB / 1.029 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.0091/1.267, allocations: 6.635 MB / 1.312 GB, free: 2.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/1.271, allocations: 1.196 MB / 1.313 GB, free: 1.316 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/1.272, allocations: 0.6553 MB / 1.314 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001882/1.274, allocations: 2.244 MB / 1.316 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001967/1.276, allocations: 0.8031 MB / 1.317 GB, free: 13.08 MB / 1.045 GB Notification: Performance of pre-optimization done (n=97): time 3.877e-06/1.276, allocations: 0 / 1.317 GB, free: 13.08 MB / 1.045 GB Notification: Performance of matching and sorting (n=97): time 0.00566/1.282, allocations: 2.133 MB / 1.319 GB, free: 10.92 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.282, allocations: 145.2 kB / 1.319 GB, free: 10.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/1.284, allocations: 1.238 MB / 1.32 GB, free: 9.5 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/1.284, allocations: 45.7 kB / 1.32 GB, free: 9.449 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006341/1.285, allocations: 0.7053 MB / 1.321 GB, free: 8.734 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003292/1.285, allocations: 319.4 kB / 1.321 GB, free: 8.418 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/1.285, allocations: 210.5 kB / 1.321 GB, free: 8.207 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.286, allocations: 349.9 kB / 1.322 GB, free: 7.859 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/1.287, allocations: 0.571 MB / 1.322 GB, free: 7.285 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/1.289, allocations: 0.8335 MB / 1.323 GB, free: 6.352 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003306/1.292, allocations: 1.501 MB / 1.325 GB, free: 4.738 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.292, allocations: 0 / 1.325 GB, free: 4.738 MB / 1.045 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004458/1.297, allocations: 1.77 MB / 1.326 GB, free: 2.945 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/1.297, allocations: 101.1 kB / 1.326 GB, free: 2.828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/1.297, allocations: 8.031 kB / 1.326 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/1.297, allocations: 15.94 kB / 1.326 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.298, allocations: 287.5 kB / 1.327 GB, free: 2.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.586e-05/1.298, allocations: 11.98 kB / 1.327 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/1.3, allocations: 186.9 kB / 1.327 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/1.3, allocations: 55.97 kB / 1.327 GB, free: 2.273 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002038/1.302, allocations: 0.8027 MB / 1.328 GB, free: 1.465 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001804/1.304, allocations: 0.8374 MB / 1.329 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003329/1.307, allocations: 1.486 MB / 1.33 GB, free: 14.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.895e-06/1.307, allocations: 3.938 kB / 1.33 GB, free: 14.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.004265/1.312, allocations: 1.762 MB / 1.332 GB, free: 13.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.028e-05/1.312, allocations: 105.2 kB / 1.332 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.312, allocations: 8 kB / 1.332 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/1.312, allocations: 8 kB / 1.332 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/1.313, allocations: 291.5 kB / 1.332 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/1.313, allocations: 11.98 kB / 1.332 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/1.315, allocations: 179.1 kB / 1.332 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/1.315, allocations: 55.97 kB / 1.332 GB, free: 12.48 MB / 1.061 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.0005289/1.316, allocations: 358.7 kB / 1.333 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004286/1.316, allocations: 158.1 kB / 1.333 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005136/1.321, allocations: 2.263 MB / 1.335 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/1.321, allocations: 7.922 kB / 1.335 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.321, allocations: 0 / 1.335 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008485/1.322, allocations: 390.5 kB / 1.335 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/1.322, allocations: 24 kB / 1.335 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.323, allocations: 123.8 kB / 1.336 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/1.324, allocations: 68.89 kB / 1.336 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00544/1.329, allocations: 2.263 MB / 1.338 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006614/1.336, allocations: 3.097 MB / 1.341 GB, free: 3.594 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001894/1.338, allocations: 0.8787 MB / 1.342 GB, free: 2.719 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001354/1.339, allocations: 0.8343 MB / 1.343 GB, free: 1.887 MB / 1.061 GB Notification: Performance of Backend: time 1.022e-06/1.339, allocations: 0 / 1.343 GB, free: 1.887 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.006443/1.345, allocations: 2.649 MB / 1.345 GB, free: 15.17 MB / 1.076 GB Notification: Performance of SimCode: time 0.006193/1.352, allocations: 3.789 MB / 1.349 GB, free: 11.3 MB / 1.076 GB Notification: Performance of Templates: time 0.09928/1.451, allocations: 38.54 MB / 1.386 GB, free: 5.191 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches