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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001497/0.001497, 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.002222/0.002222, 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.393/1.393, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.597/2.597, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.91 kB / 1.07 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8857/0.887, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic): time 0.06401/0.9511, allocations: 62.24 MB / 1.287 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01933/0.9705, allocations: 11.44 MB / 1.298 GB, free: 3.598 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00347/0.974, allocations: 79.44 kB / 1.298 GB, free: 3.52 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.9772, allocations: 0.8072 MB / 1.299 GB, free: 2.707 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007133/0.9844, allocations: 2.029 MB / 1.301 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00696/0.9914, allocations: 2.039 MB / 1.303 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006882/0.9983, allocations: 3.94 MB / 1.307 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002137/1, allocations: 1.256 MB / 1.308 GB, free: 9.391 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004735/1.005, allocations: 1.93 MB / 1.31 GB, free: 7.453 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/1.007, allocations: 1.249 MB / 1.311 GB, free: 6.199 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000227/1.008, allocations: 128 kB / 1.311 GB, free: 6.074 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003793/1.011, allocations: 1.548 MB / 1.313 GB, free: 4.523 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004979/1.012, allocations: 378.5 kB / 1.313 GB, free: 4.152 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/1.013, allocations: 0.8899 MB / 1.314 GB, free: 3.258 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005616/1.019, allocations: 2.643 MB / 1.317 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.019, allocations: 4 kB / 1.317 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/1.019, allocations: 0 / 1.317 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.255e-05/1.019, allocations: 0 / 1.317 GB, free: 0.6055 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.004171/1.023, allocations: 2.253 MB / 1.319 GB, free: 14.27 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/1.023, allocations: 8.031 kB / 1.319 GB, free: 14.26 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003485/1.027, allocations: 0.6193 MB / 1.32 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/1.029, allocations: 1.329 MB / 1.321 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.989e-05/1.029, allocations: 82 kB / 1.321 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/1.03, allocations: 115.9 kB / 1.321 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/1.033, allocations: 1.369 MB / 1.322 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/1.033, allocations: 0 / 1.322 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.866e-05/1.033, allocations: 44 kB / 1.322 GB, free: 10.58 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/1.033, allocations: 24 kB / 1.322 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003451/1.036, allocations: 1.225 MB / 1.324 GB, free: 9.332 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.00949/1.046, allocations: 6.625 MB / 1.33 GB, free: 2.184 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/1.049, allocations: 1.201 MB / 1.331 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/1.051, allocations: 0.6628 MB / 1.332 GB, free: 320 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002074/1.053, allocations: 2.248 MB / 1.334 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002128/1.055, allocations: 0.807 MB / 1.335 GB, free: 12.72 MB / 1.061 GB Notification: Performance of pre-optimization done (n=97): time 3.697e-06/1.055, allocations: 0 / 1.335 GB, free: 12.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=97): time 0.006219/1.061, allocations: 2.13 MB / 1.337 GB, free: 10.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/1.062, allocations: 157.2 kB / 1.337 GB, free: 10.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/1.064, allocations: 1.234 MB / 1.338 GB, free: 9.141 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/1.064, allocations: 41.7 kB / 1.338 GB, free: 9.094 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007517/1.065, allocations: 0.7141 MB / 1.339 GB, free: 8.371 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000417/1.065, allocations: 337.1 kB / 1.339 GB, free: 8.039 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004456/1.066, allocations: 206.6 kB / 1.34 GB, free: 7.832 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002087/1.066, allocations: 357.8 kB / 1.34 GB, free: 7.477 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/1.068, allocations: 0.571 MB / 1.341 GB, free: 6.902 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/1.07, allocations: 0.8374 MB / 1.341 GB, free: 5.961 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003499/1.073, allocations: 1.493 MB / 1.343 GB, free: 4.359 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.974e-06/1.073, allocations: 0 / 1.343 GB, free: 4.359 MB / 1.061 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004919/1.078, allocations: 1.778 MB / 1.345 GB, free: 2.559 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.079, allocations: 105.1 kB / 1.345 GB, free: 2.438 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/1.079, allocations: 11.94 kB / 1.345 GB, free: 2.426 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.073e-05/1.079, allocations: 8 kB / 1.345 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.08, allocations: 292.2 kB / 1.345 GB, free: 2.133 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.833e-05/1.08, allocations: 15.94 kB / 1.345 GB, free: 2.117 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.082, allocations: 187.2 kB / 1.345 GB, free: 1.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/1.082, allocations: 55.98 kB / 1.345 GB, free: 1.879 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002161/1.084, allocations: 0.8083 MB / 1.346 GB, free: 1.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001904/1.086, allocations: 0.8341 MB / 1.347 GB, free: 136 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003503/1.089, allocations: 1.478 MB / 1.348 GB, free: 14.54 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.708e-06/1.089, allocations: 7.938 kB / 1.348 GB, free: 14.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.00476/1.094, allocations: 1.766 MB / 1.35 GB, free: 12.75 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/1.094, allocations: 105.1 kB / 1.35 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.094, allocations: 4 kB / 1.35 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/1.094, allocations: 15.98 kB / 1.35 GB, free: 12.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/1.096, allocations: 296.2 kB / 1.35 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.185e-05/1.096, allocations: 15.94 kB / 1.35 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/1.097, allocations: 175.4 kB / 1.351 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/1.097, allocations: 55.97 kB / 1.351 GB, free: 12.07 MB / 1.076 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.0004551/1.098, allocations: 358.7 kB / 1.351 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004712/1.098, allocations: 171 kB / 1.351 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005451/1.104, allocations: 2.265 MB / 1.353 GB, free: 9.262 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/1.104, allocations: 11.98 kB / 1.353 GB, free: 9.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/1.104, allocations: 0 / 1.353 GB, free: 9.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008373/1.105, allocations: 399.4 kB / 1.354 GB, free: 8.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003244/1.105, allocations: 28 kB / 1.354 GB, free: 8.812 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.106, allocations: 111.8 kB / 1.354 GB, free: 8.703 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/1.106, allocations: 64.91 kB / 1.354 GB, free: 8.641 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005469/1.112, allocations: 2.275 MB / 1.356 GB, free: 6.309 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006477/1.118, allocations: 3.106 MB / 1.359 GB, free: 3.16 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001941/1.12, allocations: 0.8748 MB / 1.36 GB, free: 2.285 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001368/1.122, allocations: 0.8304 MB / 1.361 GB, free: 1.457 MB / 1.076 GB Notification: Performance of Backend: time 5.61e-07/1.122, allocations: 0 / 1.361 GB, free: 1.457 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006539/1.128, allocations: 2.667 MB / 1.363 GB, free: 14.73 MB / 1.092 GB Notification: Performance of SimCode: time 0.006231/1.135, allocations: 3.826 MB / 1.367 GB, free: 10.81 MB / 1.092 GB Notification: Performance of Templates: time 0.06743/1.202, allocations: 37.65 MB / 1.404 GB, free: 5.59 MB / 1.123 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