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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 112.7 kB / 16.42 MB, free: 6.516 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.001604/0.001604, allocations: 190.7 kB / 17.35 MB, free: 5.734 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.344/1.344, 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 9.1.3-maint.9.1.x/package.mo): time 2.167/2.167, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.91 kB / 0.9516 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7575/0.7589, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.2431/1.002, allocations: 206.9 MB / 1.291 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01954/1.022, allocations: 13.59 MB / 1.304 GB, free: 1.023 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002434/1.024, allocations: 47.75 kB / 1.304 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002277/1.026, allocations: 0.8153 MB / 1.305 GB, free: 160 kB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006205/1.033, allocations: 2.314 MB / 1.307 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005754/1.038, allocations: 2.12 MB / 1.309 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004706/1.043, allocations: 3.29 MB / 1.312 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/1.045, allocations: 1.165 MB / 1.314 GB, free: 7.227 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00489/1.05, allocations: 1.902 MB / 1.315 GB, free: 5.332 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/1.052, allocations: 1.041 MB / 1.316 GB, free: 4.289 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003811/1.052, allocations: 132 kB / 1.317 GB, free: 4.16 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005708/1.058, allocations: 3.097 MB / 1.32 GB, free: 1.059 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005914/1.059, allocations: 422.6 kB / 1.32 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001358/1.06, allocations: 0.7814 MB / 1.321 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005694/1.066, allocations: 3.128 MB / 1.324 GB, free: 12.72 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.066, allocations: 4 kB / 1.324 GB, free: 12.72 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.382e-06/1.066, allocations: 0 / 1.324 GB, free: 12.72 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.811e-05/1.066, allocations: 0 / 1.324 GB, free: 12.72 MB / 1.061 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.004937/1.071, allocations: 2.114 MB / 1.326 GB, free: 10.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.071, allocations: 12.03 kB / 1.326 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003262/1.074, allocations: 0.521 MB / 1.326 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/1.077, allocations: 1.133 MB / 1.327 GB, free: 8.812 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.203e-05/1.077, allocations: 81.92 kB / 1.328 GB, free: 8.734 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/1.077, allocations: 96 kB / 1.328 GB, free: 8.641 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/1.08, allocations: 1.244 MB / 1.329 GB, free: 7.375 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/1.08, allocations: 4 kB / 1.329 GB, free: 7.371 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/1.08, allocations: 39.94 kB / 1.329 GB, free: 7.332 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/1.08, allocations: 41.92 kB / 1.329 GB, free: 7.293 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/1.083, allocations: 1.28 MB / 1.33 GB, free: 6.008 MB / 1.061 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.008851/1.092, allocations: 4.854 MB / 1.335 GB, free: 0.832 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/1.095, allocations: 0.9665 MB / 1.336 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/1.096, allocations: 0.5669 MB / 1.336 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.097, allocations: 0.8344 MB / 1.337 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/1.099, allocations: 0.6766 MB / 1.338 GB, free: 13.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 4.579e-06/1.099, allocations: 3.938 kB / 1.338 GB, free: 13.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.004516/1.103, allocations: 1.718 MB / 1.34 GB, free: 11.85 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/1.103, allocations: 119.5 kB / 1.34 GB, free: 11.7 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/1.105, allocations: 1.038 MB / 1.341 GB, free: 10.65 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/1.105, allocations: 45.7 kB / 1.341 GB, free: 10.6 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004973/1.106, allocations: 0.5203 MB / 1.341 GB, free: 10.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/1.106, allocations: 280 kB / 1.342 GB, free: 9.797 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004001/1.107, allocations: 210.4 kB / 1.342 GB, free: 9.582 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.107, allocations: 341.9 kB / 1.342 GB, free: 9.242 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/1.108, allocations: 496.5 kB / 1.343 GB, free: 8.754 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/1.109, allocations: 0.6786 MB / 1.343 GB, free: 8.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002602/1.112, allocations: 1.16 MB / 1.344 GB, free: 6.805 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/1.112, allocations: 0 / 1.344 GB, free: 6.805 MB / 1.076 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003667/1.116, allocations: 1.44 MB / 1.346 GB, free: 5.344 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.408e-05/1.116, allocations: 77.2 kB / 1.346 GB, free: 5.258 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.116, allocations: 0 / 1.346 GB, free: 5.258 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/1.116, allocations: 11.98 kB / 1.346 GB, free: 5.246 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/1.117, allocations: 239.8 kB / 1.346 GB, free: 5.012 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/1.117, allocations: 11.94 kB / 1.346 GB, free: 5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/1.119, allocations: 163.4 kB / 1.346 GB, free: 4.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/1.119, allocations: 47.97 kB / 1.346 GB, free: 4.793 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001722/1.121, allocations: 0.7322 MB / 1.347 GB, free: 4.055 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001503/1.122, allocations: 0.6685 MB / 1.348 GB, free: 3.332 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002596/1.125, allocations: 1.156 MB / 1.349 GB, free: 2.121 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.658e-06/1.125, allocations: 0 / 1.349 GB, free: 2.121 MB / 1.076 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.003544/1.128, allocations: 1.437 MB / 1.35 GB, free: 0.6641 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/1.128, allocations: 71.39 kB / 1.35 GB, free: 0.582 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.128, allocations: 7.938 kB / 1.35 GB, free: 0.5742 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/1.128, allocations: 8 kB / 1.35 GB, free: 0.5664 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/1.13, allocations: 243.7 kB / 1.35 GB, free: 336 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/1.13, allocations: 7.938 kB / 1.35 GB, free: 328 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.131, allocations: 135.3 kB / 1.351 GB, free: 192 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/1.131, allocations: 51.97 kB / 1.351 GB, free: 140 kB / 1.076 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.0004/1.132, allocations: 301.9 kB / 1.351 GB, free: 15.82 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/1.132, allocations: 142.3 kB / 1.351 GB, free: 15.68 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/1.135, allocations: 1.475 MB / 1.353 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/1.135, allocations: 3.984 kB / 1.353 GB, free: 14.19 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.135, allocations: 0 / 1.353 GB, free: 14.19 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006348/1.136, allocations: 331.1 kB / 1.353 GB, free: 13.85 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/1.136, allocations: 20 kB / 1.353 GB, free: 13.83 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.137, allocations: 83.92 kB / 1.353 GB, free: 13.75 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/1.138, allocations: 56.92 kB / 1.353 GB, free: 13.69 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00371/1.141, allocations: 1.542 MB / 1.354 GB, free: 12.11 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004687/1.146, allocations: 2.234 MB / 1.357 GB, free: 9.84 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001318/1.147, allocations: 0.6208 MB / 1.357 GB, free: 9.223 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001131/1.149, allocations: 0.7127 MB / 1.358 GB, free: 8.504 MB / 1.092 GB Notification: Performance of Backend: time 3.31e-07/1.149, allocations: 0 / 1.358 GB, free: 8.504 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006293/1.155, allocations: 2.474 MB / 1.36 GB, free: 5.988 MB / 1.092 GB Notification: Performance of SimCode: time 0.004565/1.159, allocations: 2.71 MB / 1.363 GB, free: 3.203 MB / 1.092 GB Notification: Performance of Templates: time 0.05962/1.219, allocations: 36.03 MB / 1.398 GB, free: 15.43 MB / 1.139 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches