Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 176.9 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009143/0.0009143, allocations: 99.77 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.006e-05/2.008e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2543, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.282/5.536, allocations: 2.194 GB / 3.4 GB, free: 105.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/5.537, allocations: 87.47 kB / 3.4 GB, free: 105.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.476/9.013, allocations: 0.9161 GB / 4.316 GB, free: 64.61 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.954e-06/9.013, allocations: 4 kB / 4.316 GB, free: 64.61 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002907/9.013, allocations: 31.98 kB / 4.316 GB, free: 64.58 MB / 1.151 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.008166/9.021, allocations: 1.945 MB / 4.318 GB, free: 62.57 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/9.021, allocations: 12.02 kB / 4.318 GB, free: 62.56 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003463/9.025, allocations: 0.5211 MB / 4.319 GB, free: 62.04 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/9.028, allocations: 1.22 MB / 4.32 GB, free: 60.76 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006184/9.029, allocations: 169.8 kB / 4.32 GB, free: 60.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004162/9.029, allocations: 60 kB / 4.32 GB, free: 60.54 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002005/9.031, allocations: 0.9333 MB / 4.321 GB, free: 59.61 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/9.034, allocations: 1.035 MB / 4.322 GB, free: 58.54 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/9.034, allocations: 0 / 4.322 GB, free: 58.54 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/9.034, allocations: 0 / 4.322 GB, free: 58.54 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.846e-05/9.034, allocations: 37.98 kB / 4.322 GB, free: 58.5 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.009039/9.043, allocations: 4.908 MB / 4.327 GB, free: 53.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/9.044, allocations: 0.81 MB / 4.328 GB, free: 52.46 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/9.045, allocations: 464.5 kB / 4.328 GB, free: 52 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/9.046, allocations: 0.8351 MB / 4.329 GB, free: 51 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007637/9.046, allocations: 0.6077 MB / 4.33 GB, free: 50.36 MB / 1.151 GB Notification: Performance of pre-optimization done (n=85): time 3.487e-06/9.046, allocations: 0 / 4.33 GB, free: 50.36 MB / 1.151 GB Notification: Performance of matching and sorting (n=85): time 0.002731/9.049, allocations: 1.131 MB / 4.331 GB, free: 49.23 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/9.049, allocations: 141.3 kB / 4.331 GB, free: 49.05 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008166/9.05, allocations: 0.7421 MB / 4.332 GB, free: 48.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.592e-05/9.05, allocations: 29.7 kB / 4.332 GB, free: 48.26 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/9.05, allocations: 0.5237 MB / 4.332 GB, free: 47.73 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/9.051, allocations: 268.1 kB / 4.332 GB, free: 47.46 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/9.051, allocations: 8.031 kB / 4.332 GB, free: 47.46 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.571e-05/9.051, allocations: 341.9 kB / 4.333 GB, free: 47.12 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004729/9.051, allocations: 390.5 kB / 4.333 GB, free: 46.73 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/9.052, allocations: 0.5911 MB / 4.334 GB, free: 46.07 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/9.053, allocations: 0.5444 MB / 4.334 GB, free: 45.53 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/9.053, allocations: 0 / 4.334 GB, free: 45.53 MB / 1.151 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002249/9.055, allocations: 1.285 MB / 4.336 GB, free: 44.23 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002557/9.056, allocations: 1.206 MB / 4.337 GB, free: 42.93 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/9.056, allocations: 4 kB / 4.337 GB, free: 42.93 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/9.056, allocations: 8 kB / 4.337 GB, free: 42.92 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/9.057, allocations: 267.6 kB / 4.337 GB, free: 42.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/9.057, allocations: 15.98 kB / 4.337 GB, free: 42.64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/9.058, allocations: 183 kB / 4.337 GB, free: 42.46 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/9.059, allocations: 55.95 kB / 4.337 GB, free: 42.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/9.059, allocations: 4 kB / 4.337 GB, free: 42.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002134/9.061, allocations: 1.179 MB / 4.338 GB, free: 41.22 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/9.061, allocations: 4 kB / 4.338 GB, free: 41.22 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/9.061, allocations: 8.344 kB / 4.338 GB, free: 41.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/9.062, allocations: 267.6 kB / 4.339 GB, free: 40.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/9.062, allocations: 4 kB / 4.339 GB, free: 40.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/9.063, allocations: 171.2 kB / 4.339 GB, free: 40.78 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/9.063, allocations: 55.95 kB / 4.339 GB, free: 40.72 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003305/9.064, allocations: 200.1 kB / 4.339 GB, free: 40.51 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/9.064, allocations: 126.5 kB / 4.339 GB, free: 40.38 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/9.066, allocations: 1.281 MB / 4.34 GB, free: 39.09 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/9.067, allocations: 8 kB / 4.34 GB, free: 39.09 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/9.067, allocations: 0 / 4.34 GB, free: 39.09 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/9.067, allocations: 7.984 kB / 4.34 GB, free: 39.08 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004123/9.071, allocations: 2.701 MB / 4.343 GB, free: 36.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/9.071, allocations: 4 kB / 4.343 GB, free: 36.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009575/9.072, allocations: 208.1 kB / 4.343 GB, free: 36.08 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/9.072, allocations: 15.92 kB / 4.343 GB, free: 36.07 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-05/9.072, allocations: 19.98 kB / 4.343 GB, free: 36.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/9.072, allocations: 19.89 kB / 4.343 GB, free: 36.03 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/9.072, allocations: 4 kB / 4.343 GB, free: 36.02 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/9.075, allocations: 2.124 MB / 4.345 GB, free: 33.78 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005504/9.075, allocations: 351.2 kB / 4.346 GB, free: 33.41 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/9.075, allocations: 8 kB / 4.346 GB, free: 33.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/9.077, allocations: 135.8 kB / 4.346 GB, free: 33.27 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/9.077, allocations: 60.42 kB / 4.346 GB, free: 33.21 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-05/9.077, allocations: 47.97 kB / 4.346 GB, free: 33.16 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006943/9.077, allocations: 0.5615 MB / 4.347 GB, free: 32.59 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/9.077, allocations: 0 / 4.347 GB, free: 32.59 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002912/9.08, allocations: 0.9435 MB / 4.347 GB, free: 31.65 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003605/9.084, allocations: 2.432 MB / 4.35 GB, free: 29.14 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002354/9.086, allocations: 1.848 MB / 4.352 GB, free: 27.24 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/9.086, allocations: 4.062 kB / 4.352 GB, free: 27.24 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006237/9.087, allocations: 0.6375 MB / 4.352 GB, free: 26.57 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/9.089, allocations: 422.6 kB / 4.353 GB, free: 26.16 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/9.093, allocations: 1.733 MB / 4.354 GB, free: 24.36 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/9.093, allocations: 1.185 MB / 4.355 GB, free: 23.15 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001884/9.095, allocations: 403.8 kB / 4.356 GB, free: 22.75 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/9.095, allocations: 91.39 kB / 4.356 GB, free: 22.66 MB / 1.151 GB Notification: Performance of SimCode: time 7.91e-07/9.095, allocations: 4 kB / 4.356 GB, free: 22.66 MB / 1.151 GB Notification: Performance of Templates: time 0.05245/9.148, allocations: 33.56 MB / 4.389 GB, free: 5.297 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches