Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 112 kB / 16.41 MB, free: 5.91 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.001889/0.001888, allocations: 189 kB / 17.34 MB, free: 5.543 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.687/2.687, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.89 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8112/0.8126, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.238/1.051, allocations: 211.1 MB / 1.433 GB, free: 9.633 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01796/1.069, allocations: 10.65 MB / 1.443 GB, free: 14.96 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002426/1.071, allocations: 59.62 kB / 1.443 GB, free: 14.9 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.003013/1.074, allocations: 0.8538 MB / 1.444 GB, free: 14.04 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.008516/1.083, allocations: 2.588 MB / 1.446 GB, free: 11.45 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006856/1.09, allocations: 2.305 MB / 1.449 GB, free: 9.156 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005598/1.095, allocations: 3.71 MB / 1.452 GB, free: 5.43 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/1.098, allocations: 1.33 MB / 1.454 GB, free: 4.07 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00474/1.102, allocations: 2.008 MB / 1.455 GB, free: 2.059 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/1.104, allocations: 1.153 MB / 1.457 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000447/1.105, allocations: 156 kB / 1.457 GB, free: 0.75 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005922/1.111, allocations: 3.076 MB / 1.46 GB, free: 13.67 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006883/1.112, allocations: 474.3 kB / 1.46 GB, free: 13.2 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001426/1.113, allocations: 0.9055 MB / 1.461 GB, free: 12.29 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005839/1.119, allocations: 3.349 MB / 1.464 GB, free: 8.93 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.119, allocations: 3.984 kB / 1.464 GB, free: 8.926 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.723e-06/1.119, allocations: 3.938 kB / 1.464 GB, free: 8.922 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.82e-05/1.119, allocations: 0 / 1.464 GB, free: 8.922 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.005469/1.124, allocations: 2.416 MB / 1.467 GB, free: 6.438 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.124, allocations: 8.031 kB / 1.467 GB, free: 6.43 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003093/1.128, allocations: 0.553 MB / 1.467 GB, free: 5.875 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/1.13, allocations: 1.323 MB / 1.469 GB, free: 4.504 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-05/1.13, allocations: 82 kB / 1.469 GB, free: 4.422 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/1.131, allocations: 112 kB / 1.469 GB, free: 4.312 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/1.133, allocations: 1.318 MB / 1.47 GB, free: 2.965 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/1.133, allocations: 0 / 1.47 GB, free: 2.965 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/1.134, allocations: 40 kB / 1.47 GB, free: 2.926 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/1.134, allocations: 49.97 kB / 1.47 GB, free: 2.875 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003277/1.137, allocations: 1.327 MB / 1.471 GB, free: 1.551 MB / 1.186 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.008937/1.146, allocations: 5.28 MB / 1.477 GB, free: 11.97 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/1.148, allocations: 0.989 MB / 1.478 GB, free: 10.95 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/1.15, allocations: 0.5337 MB / 1.478 GB, free: 10.42 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/1.151, allocations: 0.7513 MB / 1.479 GB, free: 9.516 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001482/1.152, allocations: 0.6054 MB / 1.479 GB, free: 8.898 MB / 1.201 GB Notification: Performance of pre-optimization done (n=81): time 3.586e-06/1.152, allocations: 0 / 1.479 GB, free: 8.898 MB / 1.201 GB Notification: Performance of matching and sorting (n=81): time 0.004405/1.157, allocations: 1.559 MB / 1.481 GB, free: 7.332 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/1.157, allocations: 68 kB / 1.481 GB, free: 7.254 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/1.159, allocations: 1.333 MB / 1.482 GB, free: 5.91 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/1.159, allocations: 53.64 kB / 1.482 GB, free: 5.852 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006279/1.16, allocations: 0.6474 MB / 1.483 GB, free: 5.199 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/1.16, allocations: 293.5 kB / 1.483 GB, free: 4.91 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004299/1.16, allocations: 238.8 kB / 1.483 GB, free: 4.672 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.161, allocations: 345.9 kB / 1.484 GB, free: 4.328 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/1.162, allocations: 0.5017 MB / 1.484 GB, free: 3.824 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/1.164, allocations: 0.7525 MB / 1.485 GB, free: 2.98 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/1.166, allocations: 1.155 MB / 1.486 GB, free: 1.754 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/1.166, allocations: 7.984 kB / 1.486 GB, free: 1.746 MB / 1.201 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003552/1.17, allocations: 1.447 MB / 1.488 GB, free: 292 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.126e-05/1.17, allocations: 35.58 kB / 1.488 GB, free: 252 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.17, allocations: 12.19 kB / 1.488 GB, free: 240 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/1.17, allocations: 8 kB / 1.488 GB, free: 232 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/1.172, allocations: 335.5 kB / 1.488 GB, free: 15.9 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007454/1.172, allocations: 1.195 MB / 1.489 GB, free: 14.66 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/1.174, allocations: 187.1 kB / 1.489 GB, free: 14.47 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/1.174, allocations: 55.97 kB / 1.489 GB, free: 14.42 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001807/1.176, allocations: 0.7445 MB / 1.49 GB, free: 13.67 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001554/1.178, allocations: 0.7563 MB / 1.491 GB, free: 12.82 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002632/1.18, allocations: 1.147 MB / 1.492 GB, free: 11.61 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.991e-06/1.18, allocations: 3.938 kB / 1.492 GB, free: 11.61 MB / 1.217 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.003532/1.184, allocations: 1.439 MB / 1.493 GB, free: 10.15 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/1.184, allocations: 33.7 kB / 1.493 GB, free: 10.11 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.184, allocations: 4 kB / 1.493 GB, free: 10.11 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/1.184, allocations: 12 kB / 1.493 GB, free: 10.09 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/1.185, allocations: 303.8 kB / 1.494 GB, free: 9.797 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/1.185, allocations: 15.94 kB / 1.494 GB, free: 9.781 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/1.187, allocations: 159.4 kB / 1.494 GB, free: 9.625 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/1.187, allocations: 55.97 kB / 1.494 GB, free: 9.57 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003274/1.187, allocations: 247.9 kB / 1.494 GB, free: 9.32 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003293/1.188, allocations: 170.8 kB / 1.494 GB, free: 9.152 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/1.191, allocations: 1.315 MB / 1.496 GB, free: 7.832 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.191, allocations: 3.984 kB / 1.496 GB, free: 7.828 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.191, allocations: 0 / 1.496 GB, free: 7.828 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006333/1.192, allocations: 367.6 kB / 1.496 GB, free: 7.449 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/1.192, allocations: 19.94 kB / 1.496 GB, free: 7.43 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/1.193, allocations: 108.3 kB / 1.496 GB, free: 7.324 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/1.193, allocations: 64.91 kB / 1.496 GB, free: 7.262 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003674/1.197, allocations: 1.296 MB / 1.497 GB, free: 5.953 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004371/1.201, allocations: 1.98 MB / 1.499 GB, free: 3.953 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001287/1.203, allocations: 0.5348 MB / 1.5 GB, free: 3.418 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001322/1.204, allocations: 0.8901 MB / 1.501 GB, free: 2.531 MB / 1.217 GB Notification: Performance of Backend: time 4.91e-07/1.204, allocations: 0 / 1.501 GB, free: 2.531 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006343/1.21, allocations: 2.299 MB / 1.503 GB, free: 224 kB / 1.217 GB Notification: Performance of SimCode: time 0.005263/1.216, allocations: 3.19 MB / 1.506 GB, free: 12.97 MB / 1.232 GB Notification: Performance of Templates: time 0.06345/1.279, allocations: 40.49 MB / 1.546 GB, free: 4.812 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches