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.001568/0.001568, allocations: 116.2 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.001688/0.001688, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.21 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.428/2.428, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.84 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7152/0.7165, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic): time 0.08834/0.8049, allocations: 62.24 MB / 1.228 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02578/0.8307, allocations: 11.44 MB / 1.239 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00263/0.8334, allocations: 75.5 kB / 1.239 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002521/0.836, allocations: 0.8149 MB / 1.24 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005586/0.8416, allocations: 2.023 MB / 1.242 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005763/0.8474, allocations: 2.03 MB / 1.244 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005252/0.8526, allocations: 3.951 MB / 1.248 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.8544, allocations: 1.264 MB / 1.249 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003738/0.8582, allocations: 1.93 MB / 1.251 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.8601, allocations: 1.249 MB / 1.252 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000225/0.8604, allocations: 124 kB / 1.252 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.8634, allocations: 1.552 MB / 1.254 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003909/0.8638, allocations: 374.5 kB / 1.254 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.8649, allocations: 0.8938 MB / 1.255 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004172/0.8691, allocations: 2.643 MB / 1.258 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8691, allocations: 4 kB / 1.258 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8691, allocations: 0 / 1.258 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.8692, allocations: 0 / 1.258 GB, free: 6.914 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.003241/0.8724, allocations: 2.249 MB / 1.26 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.8725, allocations: 8.922 kB / 1.26 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/0.8759, allocations: 0.6154 MB / 1.261 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.8782, allocations: 1.333 MB / 1.262 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.195e-05/0.8782, allocations: 82 kB / 1.262 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.8784, allocations: 115.9 kB / 1.262 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.8813, allocations: 1.366 MB / 1.263 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.8814, allocations: 3.938 kB / 1.263 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.8815, allocations: 44 kB / 1.263 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.8815, allocations: 24 kB / 1.263 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.8849, allocations: 1.218 MB / 1.265 GB, free: 15.65 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.007806/0.8927, allocations: 6.641 MB / 1.271 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/0.8959, allocations: 1.194 MB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/0.8975, allocations: 0.6593 MB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001671/0.8992, allocations: 2.248 MB / 1.275 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001867/0.9011, allocations: 0.8031 MB / 1.276 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=97): time 3.547e-06/0.9011, allocations: 0 / 1.276 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97): time 0.00562/0.9067, allocations: 2.134 MB / 1.278 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.9068, allocations: 153.2 kB / 1.278 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.9085, allocations: 1.238 MB / 1.279 GB, free: 15.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.015e-05/0.9086, allocations: 45.7 kB / 1.279 GB, free: 15.4 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005349/0.9091, allocations: 0.7063 MB / 1.28 GB, free: 14.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.9094, allocations: 341 kB / 1.28 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/0.9097, allocations: 214.5 kB / 1.281 GB, free: 14.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.9099, allocations: 353.9 kB / 1.281 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/0.9115, allocations: 0.571 MB / 1.282 GB, free: 13.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/0.9133, allocations: 0.8296 MB / 1.282 GB, free: 12.28 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003278/0.9166, allocations: 1.497 MB / 1.284 GB, free: 10.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.9166, allocations: 4 kB / 1.284 GB, free: 10.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004174/0.9208, allocations: 1.774 MB / 1.286 GB, free: 8.875 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.151e-05/0.9209, allocations: 101.8 kB / 1.286 GB, free: 8.758 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.9209, allocations: 4 kB / 1.286 GB, free: 8.754 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.921, allocations: 19.94 kB / 1.286 GB, free: 8.734 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.9222, allocations: 283.6 kB / 1.286 GB, free: 8.457 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.9223, allocations: 19.92 kB / 1.286 GB, free: 8.438 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.9236, allocations: 195.2 kB / 1.286 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.9238, allocations: 55.97 kB / 1.286 GB, free: 8.191 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001924/0.9257, allocations: 0.8105 MB / 1.287 GB, free: 7.379 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001732/0.9274, allocations: 0.8332 MB / 1.288 GB, free: 6.441 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003267/0.9307, allocations: 1.485 MB / 1.289 GB, free: 4.844 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.961e-06/0.9307, allocations: 7.938 kB / 1.289 GB, free: 4.836 MB / 1.014 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.00411/0.9349, allocations: 1.754 MB / 1.291 GB, free: 3.055 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/0.9349, allocations: 101.8 kB / 1.291 GB, free: 2.938 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.9349, allocations: 7.984 kB / 1.291 GB, free: 2.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.935, allocations: 16 kB / 1.291 GB, free: 2.914 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.9362, allocations: 287.6 kB / 1.291 GB, free: 2.633 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.9362, allocations: 11.94 kB / 1.291 GB, free: 2.621 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.9376, allocations: 183.3 kB / 1.292 GB, free: 2.441 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.9377, allocations: 55.97 kB / 1.292 GB, free: 2.387 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.0003568/0.9381, allocations: 355.8 kB / 1.292 GB, free: 2.016 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/0.9384, allocations: 167 kB / 1.292 GB, free: 1.852 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00487/0.9432, allocations: 2.275 MB / 1.294 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.9433, allocations: 3.984 kB / 1.294 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.9433, allocations: 0 / 1.294 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/0.9439, allocations: 403.4 kB / 1.295 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.9441, allocations: 24 kB / 1.295 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.9451, allocations: 119.8 kB / 1.295 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.9452, allocations: 64.91 kB / 1.295 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005172/0.9504, allocations: 2.267 MB / 1.297 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006349/0.9568, allocations: 3.105 MB / 1.3 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001823/0.9586, allocations: 0.8826 MB / 1.301 GB, free: 8.598 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001183/0.9598, allocations: 0.8343 MB / 1.302 GB, free: 7.766 MB / 1.029 GB Notification: Performance of Backend: time 5.91e-07/0.9598, allocations: 0 / 1.302 GB, free: 7.766 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006011/0.9659, allocations: 2.66 MB / 1.304 GB, free: 5.043 MB / 1.029 GB Notification: Performance of SimCode: time 0.005246/0.9711, allocations: 3.83 MB / 1.308 GB, free: 1.133 MB / 1.029 GB Notification: Performance of Templates: time 0.05644/1.028, allocations: 37.65 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