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.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.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.001684/0.001684, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.002118/0.002118, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.46/1.46, 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 2.706/2.706, allocations: 469.4 MB / 0.7428 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 67.84 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7782/0.7795, allocations: 159.1 MB / 1.221 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.2212/1.001, allocations: 206.9 MB / 1.423 GB, free: 2.652 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01801/1.019, allocations: 13.62 MB / 1.436 GB, free: 5 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/1.021, allocations: 47.69 kB / 1.436 GB, free: 4.953 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002187/1.023, allocations: 0.8114 MB / 1.437 GB, free: 4.137 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005762/1.029, allocations: 2.314 MB / 1.439 GB, free: 1.812 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005429/1.034, allocations: 2.126 MB / 1.441 GB, free: 15.7 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004541/1.039, allocations: 3.296 MB / 1.445 GB, free: 12.39 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/1.04, allocations: 1.169 MB / 1.446 GB, free: 11.19 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00521/1.046, allocations: 1.903 MB / 1.448 GB, free: 9.297 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/1.048, allocations: 1.044 MB / 1.449 GB, free: 8.25 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0006186/1.048, allocations: 128 kB / 1.449 GB, free: 8.125 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00627/1.055, allocations: 3.095 MB / 1.452 GB, free: 5.027 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007958/1.056, allocations: 430.5 kB / 1.452 GB, free: 4.605 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001959/1.058, allocations: 0.7813 MB / 1.453 GB, free: 3.82 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.007738/1.065, allocations: 3.132 MB / 1.456 GB, free: 0.6797 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.065, allocations: 4 kB / 1.456 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.272e-06/1.065, allocations: 0 / 1.456 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.903e-05/1.065, allocations: 0 / 1.456 GB, free: 0.6758 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.006269/1.072, allocations: 2.118 MB / 1.458 GB, free: 14.49 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/1.072, allocations: 12.62 kB / 1.458 GB, free: 14.48 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00349/1.075, allocations: 0.5211 MB / 1.459 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003109/1.078, allocations: 1.137 MB / 1.46 GB, free: 12.76 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/1.079, allocations: 70 kB / 1.46 GB, free: 12.69 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003711/1.079, allocations: 104 kB / 1.46 GB, free: 12.59 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/1.082, allocations: 1.248 MB / 1.461 GB, free: 11.32 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/1.082, allocations: 4 kB / 1.461 GB, free: 11.32 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/1.082, allocations: 43.97 kB / 1.461 GB, free: 11.28 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/1.082, allocations: 37.98 kB / 1.461 GB, free: 11.24 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003253/1.086, allocations: 1.273 MB / 1.462 GB, free: 9.969 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.01054/1.096, allocations: 4.85 MB / 1.467 GB, free: 4.789 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/1.099, allocations: 0.9577 MB / 1.468 GB, free: 3.82 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/1.1, allocations: 0.5454 MB / 1.469 GB, free: 3.273 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/1.102, allocations: 0.8383 MB / 1.47 GB, free: 2.27 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/1.103, allocations: 0.6732 MB / 1.47 GB, free: 1.574 MB / 1.186 GB Notification: Performance of pre-optimization done (n=84): time 4.058e-06/1.103, allocations: 4 kB / 1.47 GB, free: 1.57 MB / 1.186 GB Notification: Performance of matching and sorting (n=84): time 0.004525/1.108, allocations: 1.702 MB / 1.472 GB, free: 15.85 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/1.108, allocations: 123.4 kB / 1.472 GB, free: 15.7 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/1.11, allocations: 1.038 MB / 1.473 GB, free: 14.65 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/1.11, allocations: 45.7 kB / 1.473 GB, free: 14.6 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005368/1.11, allocations: 0.5281 MB / 1.474 GB, free: 14.07 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/1.111, allocations: 280 kB / 1.474 GB, free: 13.79 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000423/1.111, allocations: 202.5 kB / 1.474 GB, free: 13.59 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.111, allocations: 341.9 kB / 1.474 GB, free: 13.25 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/1.113, allocations: 496.5 kB / 1.475 GB, free: 12.76 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/1.114, allocations: 0.6747 MB / 1.475 GB, free: 12.02 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/1.117, allocations: 1.163 MB / 1.477 GB, free: 10.8 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.117, allocations: 0 / 1.477 GB, free: 10.8 MB / 1.201 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003581/1.12, allocations: 1.44 MB / 1.478 GB, free: 9.34 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 8.422e-05/1.12, allocations: 73.73 kB / 1.478 GB, free: 9.258 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/1.12, allocations: 4 kB / 1.478 GB, free: 9.254 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/1.12, allocations: 7.938 kB / 1.478 GB, free: 9.246 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.122, allocations: 243.7 kB / 1.478 GB, free: 9.008 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.157e-05/1.122, allocations: 11.98 kB / 1.478 GB, free: 8.996 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/1.123, allocations: 155 kB / 1.478 GB, free: 8.844 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/1.123, allocations: 47.97 kB / 1.479 GB, free: 8.797 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00181/1.125, allocations: 0.7283 MB / 1.479 GB, free: 8.066 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001456/1.127, allocations: 0.6708 MB / 1.48 GB, free: 7.34 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002587/1.129, allocations: 1.152 MB / 1.481 GB, free: 6.133 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/1.129, allocations: 0 / 1.481 GB, free: 6.133 MB / 1.201 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.003633/1.133, allocations: 1.433 MB / 1.482 GB, free: 4.676 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.239e-05/1.133, allocations: 67.39 kB / 1.482 GB, free: 4.598 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.133, allocations: 4 kB / 1.482 GB, free: 4.594 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/1.133, allocations: 12.09 kB / 1.482 GB, free: 4.582 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/1.134, allocations: 251.6 kB / 1.483 GB, free: 4.336 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/1.134, allocations: 4 kB / 1.483 GB, free: 4.332 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/1.136, allocations: 143.2 kB / 1.483 GB, free: 4.191 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/1.136, allocations: 47.97 kB / 1.483 GB, free: 4.145 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.000399/1.136, allocations: 315.3 kB / 1.483 GB, free: 3.816 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000399/1.137, allocations: 130.4 kB / 1.483 GB, free: 3.688 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/1.14, allocations: 1.467 MB / 1.485 GB, free: 2.203 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/1.14, allocations: 3.984 kB / 1.485 GB, free: 2.199 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.14, allocations: 3.938 kB / 1.485 GB, free: 2.195 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006828/1.141, allocations: 331.2 kB / 1.485 GB, free: 1.852 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/1.141, allocations: 19.98 kB / 1.485 GB, free: 1.832 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.142, allocations: 104.3 kB / 1.485 GB, free: 1.73 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/1.143, allocations: 48.59 kB / 1.485 GB, free: 1.684 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003665/1.146, allocations: 1.54 MB / 1.487 GB, free: 104 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004693/1.151, allocations: 2.212 MB / 1.489 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001339/1.152, allocations: 0.6029 MB / 1.49 GB, free: 13.26 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001264/1.154, allocations: 0.7168 MB / 1.49 GB, free: 12.54 MB / 1.217 GB Notification: Performance of Backend: time 6.01e-07/1.154, allocations: 0 / 1.49 GB, free: 12.54 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007233/1.161, allocations: 2.463 MB / 1.493 GB, free: 10.04 MB / 1.217 GB Notification: Performance of SimCode: time 0.005056/1.166, allocations: 2.725 MB / 1.495 GB, free: 7.234 MB / 1.217 GB Notification: Performance of Templates: time 0.0586/1.225, allocations: 35.94 MB / 1.53 GB, free: 3.559 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