Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 113.8 kB / 16.42 MB, free: 6.43 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.001453/0.001453, allocations: 190.7 kB / 17.35 MB, free: 5.688 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.626/2.626, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 71.89 kB / 1.07 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7974/0.7988, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2026/1.001, allocations: 179.3 MB / 1.402 GB, free: 9.539 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01766/1.019, allocations: 10.98 MB / 1.412 GB, free: 14.53 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003636/1.023, allocations: 91.5 kB / 1.412 GB, free: 14.44 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.006608/1.03, allocations: 2.013 MB / 1.414 GB, free: 12.42 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005753/1.035, allocations: 1.667 MB / 1.416 GB, free: 10.74 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002775/1.038, allocations: 0.7861 MB / 1.417 GB, free: 9.961 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005121/1.043, allocations: 3.152 MB / 1.42 GB, free: 6.801 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/1.045, allocations: 1.309 MB / 1.421 GB, free: 5.461 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/1.048, allocations: 1.163 MB / 1.422 GB, free: 4.293 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00253/1.05, allocations: 1.112 MB / 1.423 GB, free: 3.18 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005064/1.051, allocations: 128 kB / 1.423 GB, free: 3.055 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/1.053, allocations: 0.92 MB / 1.424 GB, free: 2.133 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0007861/1.054, allocations: 478 kB / 1.425 GB, free: 1.664 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002219/1.056, allocations: 1.091 MB / 1.426 GB, free: 0.5664 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005201/1.062, allocations: 3.471 MB / 1.429 GB, free: 13.08 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/1.062, allocations: 7.984 kB / 1.429 GB, free: 13.07 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.204e-06/1.062, allocations: 4 kB / 1.429 GB, free: 13.07 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.282e-05/1.062, allocations: 0 / 1.429 GB, free: 13.07 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.005226/1.067, allocations: 2.89 MB / 1.432 GB, free: 10.11 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.067, allocations: 8.031 kB / 1.432 GB, free: 10.11 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/1.069, allocations: 386 kB / 1.432 GB, free: 9.727 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003882/1.073, allocations: 2.039 MB / 1.434 GB, free: 7.625 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.408e-05/1.073, allocations: 58 kB / 1.434 GB, free: 7.566 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/1.073, allocations: 76 kB / 1.435 GB, free: 7.492 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/1.075, allocations: 0.9407 MB / 1.435 GB, free: 6.512 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/1.075, allocations: 3.938 kB / 1.435 GB, free: 6.508 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.609e-05/1.075, allocations: 32 kB / 1.435 GB, free: 6.477 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/1.075, allocations: 32.94 kB / 1.436 GB, free: 6.441 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/1.076, allocations: 0.6986 MB / 1.436 GB, free: 5.746 MB / 1.154 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.006946/1.083, allocations: 4.457 MB / 1.441 GB, free: 1.074 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/1.083, allocations: 320.5 kB / 1.441 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/1.084, allocations: 180.8 kB / 1.441 GB, free: 0.5742 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/1.084, allocations: 93.09 kB / 1.441 GB, free: 476 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/1.084, allocations: 42.56 kB / 1.441 GB, free: 424 kB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 2.786e-06/1.084, allocations: 0 / 1.441 GB, free: 424 kB / 1.154 GB Notification: Performance of matching and sorting (n=32): time 0.003556/1.088, allocations: 1.749 MB / 1.443 GB, free: 14.58 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/1.088, allocations: 51.41 kB / 1.443 GB, free: 14.52 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004598/1.092, allocations: 2.949 MB / 1.446 GB, free: 11.55 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/1.092, allocations: 33.7 kB / 1.446 GB, free: 11.52 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/1.093, allocations: 1.063 MB / 1.447 GB, free: 10.45 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/1.094, allocations: 130.9 kB / 1.447 GB, free: 10.32 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/1.094, allocations: 114.1 kB / 1.447 GB, free: 10.2 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.094, allocations: 326 kB / 1.447 GB, free: 9.875 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/1.094, allocations: 165 kB / 1.448 GB, free: 9.711 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/1.094, allocations: 362.3 kB / 1.448 GB, free: 9.273 MB / 1.17 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/1.097, allocations: 1.088 MB / 1.449 GB, free: 8.086 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.097, allocations: 0 / 1.449 GB, free: 8.086 MB / 1.17 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001373/1.098, allocations: 0.8132 MB / 1.45 GB, free: 7.262 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.098, allocations: 8 kB / 1.45 GB, free: 7.254 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.098, allocations: 4 kB / 1.45 GB, free: 7.25 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/1.098, allocations: 60.86 kB / 1.45 GB, free: 7.188 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/1.099, allocations: 99.83 kB / 1.45 GB, free: 7.09 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/1.101, allocations: 1.865 MB / 1.452 GB, free: 5.09 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009511/1.102, allocations: 20 kB / 1.452 GB, free: 5.07 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/1.102, allocations: 24 kB / 1.452 GB, free: 5.047 MB / 1.17 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001149/1.103, allocations: 0.8018 MB / 1.453 GB, free: 4.234 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003868/1.103, allocations: 246.4 kB / 1.453 GB, free: 3.992 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004806/1.104, allocations: 259.7 kB / 1.453 GB, free: 3.738 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000743/1.104, allocations: 0.597 MB / 1.454 GB, free: 3.07 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.104, allocations: 4 kB / 1.454 GB, free: 3.066 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007645/1.105, allocations: 415.5 kB / 1.454 GB, free: 2.641 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/1.106, allocations: 12 kB / 1.454 GB, free: 2.629 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/1.106, allocations: 15.98 kB / 1.454 GB, free: 2.613 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/1.106, allocations: 15.97 kB / 1.454 GB, free: 2.598 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001059/1.107, allocations: 0.5293 MB / 1.455 GB, free: 2.059 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001102/1.108, allocations: 0.9337 MB / 1.456 GB, free: 1.109 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002216/1.109, allocations: 156 kB / 1.456 GB, free: 0.957 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003326/1.112, allocations: 2.087 MB / 1.458 GB, free: 14.87 MB / 1.186 GB Notification: Performance of Backend: time 6.61e-07/1.112, allocations: 3.938 kB / 1.458 GB, free: 14.86 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002068/1.114, allocations: 0.6861 MB / 1.458 GB, free: 14.17 MB / 1.186 GB Notification: Performance of SimCode: time 0.009229/1.123, allocations: 5.4 MB / 1.464 GB, free: 8.715 MB / 1.186 GB Notification: Performance of Templates: time 0.05366/1.177, allocations: 31.52 MB / 1.494 GB, free: 9.625 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches