Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001514/0.001514, allocations: 108.6 kB / 16.41 MB, free: 6.512 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.001561/0.001561, allocations: 192.3 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437.1 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 59.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8227/0.8241, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.2228/1.047, allocations: 206.9 MB / 1.369 GB, free: 4.133 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02044/1.068, allocations: 13.6 MB / 1.383 GB, free: 6.488 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002328/1.07, allocations: 51.69 kB / 1.383 GB, free: 6.438 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/1.072, allocations: 0.8154 MB / 1.384 GB, free: 5.617 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006202/1.079, allocations: 2.315 MB / 1.386 GB, free: 3.293 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005684/1.084, allocations: 2.132 MB / 1.388 GB, free: 1.176 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00472/1.089, allocations: 3.293 MB / 1.391 GB, free: 13.88 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/1.091, allocations: 1.158 MB / 1.392 GB, free: 12.69 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004877/1.096, allocations: 1.909 MB / 1.394 GB, free: 10.79 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002067/1.098, allocations: 1.039 MB / 1.395 GB, free: 9.746 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004645/1.099, allocations: 132 kB / 1.395 GB, free: 9.617 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006189/1.105, allocations: 3.093 MB / 1.398 GB, free: 6.52 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007164/1.105, allocations: 418.6 kB / 1.399 GB, free: 6.109 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001512/1.107, allocations: 0.7891 MB / 1.399 GB, free: 5.316 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006589/1.114, allocations: 3.136 MB / 1.402 GB, free: 2.172 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/1.114, allocations: 3.938 kB / 1.402 GB, free: 2.168 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.773e-06/1.114, allocations: 3.938 kB / 1.402 GB, free: 2.164 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.65e-05/1.114, allocations: 0 / 1.402 GB, free: 2.164 MB / 1.123 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.005659/1.119, allocations: 2.12 MB / 1.405 GB, free: 15.97 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.119, allocations: 12.88 kB / 1.405 GB, free: 15.96 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/1.123, allocations: 0.521 MB / 1.405 GB, free: 15.44 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/1.125, allocations: 1.137 MB / 1.406 GB, free: 14.25 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-05/1.126, allocations: 73.98 kB / 1.406 GB, free: 14.18 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/1.126, allocations: 104 kB / 1.406 GB, free: 14.07 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002856/1.129, allocations: 1.244 MB / 1.408 GB, free: 12.81 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/1.129, allocations: 0 / 1.408 GB, free: 12.81 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/1.129, allocations: 39.94 kB / 1.408 GB, free: 12.77 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/1.129, allocations: 41.98 kB / 1.408 GB, free: 12.73 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003215/1.132, allocations: 1.269 MB / 1.409 GB, free: 11.46 MB / 1.139 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.009355/1.141, allocations: 4.869 MB / 1.414 GB, free: 6.27 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/1.144, allocations: 0.9442 MB / 1.415 GB, free: 5.32 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/1.145, allocations: 0.5555 MB / 1.415 GB, free: 4.762 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/1.146, allocations: 0.8422 MB / 1.416 GB, free: 3.754 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001478/1.148, allocations: 0.6649 MB / 1.417 GB, free: 3.066 MB / 1.139 GB Notification: Performance of pre-optimization done (n=84): time 4.058e-06/1.148, allocations: 4 kB / 1.417 GB, free: 3.062 MB / 1.139 GB Notification: Performance of matching and sorting (n=84): time 0.004356/1.152, allocations: 1.702 MB / 1.418 GB, free: 1.344 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/1.152, allocations: 115.5 kB / 1.418 GB, free: 1.207 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/1.154, allocations: 1.054 MB / 1.419 GB, free: 144 kB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/1.154, allocations: 45.7 kB / 1.419 GB, free: 92 kB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00048/1.155, allocations: 0.5281 MB / 1.42 GB, free: 15.55 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/1.155, allocations: 272 kB / 1.42 GB, free: 15.29 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/1.155, allocations: 206.5 kB / 1.42 GB, free: 15.07 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.155, allocations: 341.9 kB / 1.421 GB, free: 14.73 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/1.157, allocations: 496.5 kB / 1.421 GB, free: 14.25 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/1.158, allocations: 0.6786 MB / 1.422 GB, free: 13.51 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002523/1.161, allocations: 1.16 MB / 1.423 GB, free: 12.3 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.161, allocations: 4 kB / 1.423 GB, free: 12.29 MB / 1.154 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003556/1.164, allocations: 1.436 MB / 1.424 GB, free: 10.84 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.896e-05/1.164, allocations: 75.38 kB / 1.424 GB, free: 10.75 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.164, allocations: 0 / 1.424 GB, free: 10.75 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/1.164, allocations: 11.94 kB / 1.424 GB, free: 10.74 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.166, allocations: 239.8 kB / 1.425 GB, free: 10.5 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-05/1.166, allocations: 15.94 kB / 1.425 GB, free: 10.49 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/1.168, allocations: 162.9 kB / 1.425 GB, free: 10.33 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/1.168, allocations: 47.97 kB / 1.425 GB, free: 10.28 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001855/1.17, allocations: 0.7205 MB / 1.426 GB, free: 9.555 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001492/1.171, allocations: 0.6709 MB / 1.426 GB, free: 8.828 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002652/1.174, allocations: 1.156 MB / 1.427 GB, free: 7.613 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/1.174, allocations: 0 / 1.427 GB, free: 7.613 MB / 1.154 GB Notification: Performance of matching and sorting (n=116) (initialization_lambda0): time 0.003624/1.177, allocations: 1.429 MB / 1.429 GB, free: 6.16 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.326e-05/1.177, allocations: 71.33 kB / 1.429 GB, free: 6.078 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.177, allocations: 7.984 kB / 1.429 GB, free: 6.07 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/1.177, allocations: 4 kB / 1.429 GB, free: 6.066 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/1.179, allocations: 251.6 kB / 1.429 GB, free: 5.82 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/1.179, allocations: 11.94 kB / 1.429 GB, free: 5.809 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/1.18, allocations: 147.3 kB / 1.429 GB, free: 5.664 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/1.18, allocations: 47.97 kB / 1.429 GB, free: 5.617 MB / 1.154 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.0003869/1.181, allocations: 294.8 kB / 1.43 GB, free: 5.312 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003889/1.181, allocations: 126.5 kB / 1.43 GB, free: 5.188 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/1.185, allocations: 1.465 MB / 1.431 GB, free: 3.711 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.185, allocations: 3.984 kB / 1.431 GB, free: 3.707 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/1.185, allocations: 0 / 1.431 GB, free: 3.707 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000674/1.185, allocations: 327.2 kB / 1.431 GB, free: 3.367 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/1.186, allocations: 20 kB / 1.432 GB, free: 3.348 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/1.187, allocations: 104.3 kB / 1.432 GB, free: 3.246 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/1.187, allocations: 56.58 kB / 1.432 GB, free: 3.188 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003727/1.191, allocations: 1.544 MB / 1.433 GB, free: 1.602 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004725/1.196, allocations: 2.208 MB / 1.435 GB, free: 15.36 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001302/1.197, allocations: 0.599 MB / 1.436 GB, free: 14.76 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001209/1.198, allocations: 0.7168 MB / 1.437 GB, free: 14.04 MB / 1.17 GB Notification: Performance of Backend: time 1.673e-06/1.198, allocations: 0 / 1.437 GB, free: 14.04 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.006492/1.205, allocations: 2.479 MB / 1.439 GB, free: 11.52 MB / 1.17 GB Notification: Performance of SimCode: time 0.004696/1.209, allocations: 2.722 MB / 1.442 GB, free: 8.727 MB / 1.17 GB Notification: Performance of Templates: time 0.05718/1.267, allocations: 35.95 MB / 1.477 GB, free: 4.992 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches