Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.QMax_flow|hex.Q1_flow|hex.Q2_flow|hex.hA.hA_1|hex.hA.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.QMax_flow|hex.Q1_flow|hex.Q2_flow|hex.hA.hA_1|hex.hA.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 111.1 kB / 16.42 MB, free: 6.48 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.001172/0.001172, allocations: 191.8 kB / 17.35 MB, free: 5.75 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.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.502/2.502, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 71.89 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7708/0.7722, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.2139/0.9862, allocations: 206.9 MB / 1.41 GB, free: 13.97 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01663/1.003, allocations: 13.61 MB / 1.424 GB, free: 332 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/1.005, allocations: 47.69 kB / 1.424 GB, free: 284 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/1.006, allocations: 0.7919 MB / 1.424 GB, free: 15.48 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005043/1.012, allocations: 2.22 MB / 1.427 GB, free: 13.25 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005052/1.017, allocations: 2.122 MB / 1.429 GB, free: 11.14 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004116/1.021, allocations: 3.274 MB / 1.432 GB, free: 7.863 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/1.022, allocations: 1.169 MB / 1.433 GB, free: 6.66 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003915/1.026, allocations: 1.84 MB / 1.435 GB, free: 4.828 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/1.028, allocations: 1.054 MB / 1.436 GB, free: 3.773 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002156/1.028, allocations: 132 kB / 1.436 GB, free: 3.645 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005538/1.033, allocations: 3.084 MB / 1.439 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003911/1.034, allocations: 422.6 kB / 1.439 GB, free: 144 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008275/1.035, allocations: 0.7892 MB / 1.44 GB, free: 15.34 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004533/1.039, allocations: 3.132 MB / 1.443 GB, free: 12.21 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/1.039, allocations: 0 / 1.443 GB, free: 12.21 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.082e-06/1.039, allocations: 0 / 1.443 GB, free: 12.21 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.802e-05/1.039, allocations: 0 / 1.443 GB, free: 12.21 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003815/1.043, allocations: 2.119 MB / 1.445 GB, free: 10.02 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/1.043, allocations: 12.03 kB / 1.445 GB, free: 10.01 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002797/1.046, allocations: 0.5171 MB / 1.446 GB, free: 9.492 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/1.048, allocations: 1.149 MB / 1.447 GB, free: 8.285 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.62e-05/1.048, allocations: 70 kB / 1.447 GB, free: 8.219 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/1.048, allocations: 104 kB / 1.447 GB, free: 8.117 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/1.051, allocations: 1.248 MB / 1.448 GB, free: 6.848 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/1.051, allocations: 4 kB / 1.448 GB, free: 6.844 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.666e-05/1.051, allocations: 36 kB / 1.448 GB, free: 6.809 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.899e-05/1.051, allocations: 34 kB / 1.448 GB, free: 6.777 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/1.054, allocations: 1.273 MB / 1.45 GB, free: 5.504 MB / 1.17 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.00695/1.06, allocations: 4.85 MB / 1.454 GB, free: 340 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/1.063, allocations: 0.9666 MB / 1.455 GB, free: 15.35 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/1.064, allocations: 0.5453 MB / 1.456 GB, free: 14.8 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/1.065, allocations: 0.8382 MB / 1.457 GB, free: 13.8 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/1.066, allocations: 0.6727 MB / 1.457 GB, free: 13.11 MB / 1.186 GB Notification: Performance of pre-optimization done (n=84): time 3.105e-06/1.066, allocations: 0 / 1.457 GB, free: 13.11 MB / 1.186 GB Notification: Performance of matching and sorting (n=84): time 0.004006/1.07, allocations: 1.698 MB / 1.459 GB, free: 11.39 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/1.071, allocations: 123.5 kB / 1.459 GB, free: 11.24 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/1.072, allocations: 1.042 MB / 1.46 GB, free: 10.18 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.926e-05/1.072, allocations: 49.69 kB / 1.46 GB, free: 10.13 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/1.072, allocations: 0.5281 MB / 1.461 GB, free: 9.594 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/1.073, allocations: 272 kB / 1.461 GB, free: 9.324 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003396/1.073, allocations: 202.5 kB / 1.461 GB, free: 9.121 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.073, allocations: 341.9 kB / 1.461 GB, free: 8.781 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/1.074, allocations: 496.5 kB / 1.462 GB, free: 8.293 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/1.076, allocations: 0.6747 MB / 1.463 GB, free: 7.562 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/1.078, allocations: 1.171 MB / 1.464 GB, free: 6.332 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/1.078, allocations: 0 / 1.464 GB, free: 6.332 MB / 1.186 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003142/1.081, allocations: 1.433 MB / 1.465 GB, free: 4.875 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/1.081, allocations: 71.39 kB / 1.465 GB, free: 4.793 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/1.081, allocations: 4 kB / 1.465 GB, free: 4.789 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/1.081, allocations: 7.938 kB / 1.465 GB, free: 4.781 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/1.083, allocations: 247.8 kB / 1.465 GB, free: 4.539 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/1.083, allocations: 11.94 kB / 1.465 GB, free: 4.527 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/1.084, allocations: 151.5 kB / 1.466 GB, free: 4.379 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.974e-05/1.084, allocations: 51.91 kB / 1.466 GB, free: 4.328 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001528/1.085, allocations: 0.73 MB / 1.466 GB, free: 3.598 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001292/1.087, allocations: 0.6669 MB / 1.467 GB, free: 2.875 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002295/1.089, allocations: 1.156 MB / 1.468 GB, free: 1.664 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/1.089, allocations: 0 / 1.468 GB, free: 1.664 MB / 1.186 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.003152/1.092, allocations: 1.433 MB / 1.47 GB, free: 216 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/1.092, allocations: 67.39 kB / 1.47 GB, free: 136 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/1.092, allocations: 4 kB / 1.47 GB, free: 132 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/1.092, allocations: 11.94 kB / 1.47 GB, free: 120 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/1.093, allocations: 243.7 kB / 1.47 GB, free: 15.88 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.093, allocations: 7.938 kB / 1.47 GB, free: 15.87 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/1.095, allocations: 147.3 kB / 1.47 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.095, allocations: 51.97 kB / 1.47 GB, free: 15.68 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (hex.flowRegime_nominal,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 2 * 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.0003316/1.095, allocations: 295.5 kB / 1.47 GB, free: 15.37 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/1.095, allocations: 126.5 kB / 1.47 GB, free: 15.24 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/1.099, allocations: 1.475 MB / 1.472 GB, free: 13.75 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/1.099, allocations: 3.984 kB / 1.472 GB, free: 13.75 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.099, allocations: 0 / 1.472 GB, free: 13.75 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/1.099, allocations: 331.2 kB / 1.472 GB, free: 13.4 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/1.099, allocations: 16 kB / 1.472 GB, free: 13.39 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009762/1.1, allocations: 108.3 kB / 1.472 GB, free: 13.28 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/1.1, allocations: 52.58 kB / 1.472 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003336/1.104, allocations: 1.54 MB / 1.474 GB, free: 11.64 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004302/1.108, allocations: 2.212 MB / 1.476 GB, free: 9.406 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001179/1.109, allocations: 0.6029 MB / 1.477 GB, free: 8.801 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009882/1.11, allocations: 0.7129 MB / 1.477 GB, free: 8.082 MB / 1.201 GB Notification: Performance of Backend: time 5.11e-07/1.11, allocations: 0 / 1.477 GB, free: 8.082 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005689/1.116, allocations: 2.469 MB / 1.48 GB, free: 5.578 MB / 1.201 GB Notification: Performance of SimCode: time 0.003999/1.12, allocations: 2.731 MB / 1.482 GB, free: 2.77 MB / 1.201 GB Notification: Performance of Templates: time 0.05532/1.175, allocations: 35.76 MB / 1.517 GB, free: 15.28 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches