Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_11_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_11_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.0052/0.0052, allocations: 101.2 kB / 15.73 MB, free: 6.492 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.001296/0.001296, allocations: 193.1 kB / 16.68 MB, free: 6.371 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.223/1.223, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.434/2.434, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 67.88 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.252, allocations: 159.1 MB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6951/0.9471, allocations: 179.8 MB / 1.396 GB, free: 8.781 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.9633, allocations: 11 MB / 1.407 GB, free: 15.79 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002615/0.9659, allocations: 95.78 kB / 1.407 GB, free: 15.76 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.005256/0.9711, allocations: 2.015 MB / 1.409 GB, free: 14.38 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004312/0.9755, allocations: 1.67 MB / 1.411 GB, free: 13.04 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.9776, allocations: 0.7985 MB / 1.412 GB, free: 12.42 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00419/0.9818, allocations: 3.135 MB / 1.415 GB, free: 10.57 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.9833, allocations: 1.051 MB / 1.416 GB, free: 9.949 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.9852, allocations: 1.152 MB / 1.417 GB, free: 9.293 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/0.9872, allocations: 1.116 MB / 1.418 GB, free: 8.613 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003174/0.9876, allocations: 124.9 kB / 1.418 GB, free: 8.613 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.9894, allocations: 0.9181 MB / 1.419 GB, free: 8.152 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005027/0.9899, allocations: 487 kB / 1.419 GB, free: 7.801 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.9913, allocations: 1.094 MB / 1.42 GB, free: 7.055 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003838/0.9951, allocations: 3.478 MB / 1.424 GB, free: 4.777 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9951, allocations: 0 / 1.424 GB, free: 4.777 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.253e-06/0.9951, allocations: 3.938 kB / 1.424 GB, free: 4.773 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.886e-05/0.9952, allocations: 4 kB / 1.424 GB, free: 4.77 MB / 1.107 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.004023/0.9992, allocations: 2.888 MB / 1.427 GB, free: 2.312 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.9992, allocations: 12.02 kB / 1.427 GB, free: 2.301 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/1.001, allocations: 382 kB / 1.427 GB, free: 1.926 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/1.003, allocations: 2.039 MB / 1.429 GB, free: 15.82 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/1.003, allocations: 58 kB / 1.429 GB, free: 15.77 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/1.004, allocations: 76 kB / 1.429 GB, free: 15.69 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/1.005, allocations: 0.9446 MB / 1.43 GB, free: 14.71 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/1.005, allocations: 7.938 kB / 1.43 GB, free: 14.7 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/1.005, allocations: 32 kB / 1.43 GB, free: 14.67 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/1.005, allocations: 25 kB / 1.43 GB, free: 14.64 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009532/1.006, allocations: 0.7054 MB / 1.431 GB, free: 13.94 MB / 1.123 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.004917/1.011, allocations: 4.453 MB / 1.435 GB, free: 9.273 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004258/1.011, allocations: 302.6 kB / 1.435 GB, free: 8.969 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/1.011, allocations: 164.8 kB / 1.436 GB, free: 8.805 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/1.012, allocations: 101.2 kB / 1.436 GB, free: 8.688 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/1.012, allocations: 40.38 kB / 1.436 GB, free: 8.641 MB / 1.123 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/1.012, allocations: 0 / 1.436 GB, free: 8.641 MB / 1.123 GB Notification: Performance of matching and sorting (n=32): time 0.002727/1.014, allocations: 1.75 MB / 1.437 GB, free: 6.809 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/1.014, allocations: 59.34 kB / 1.437 GB, free: 6.738 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003241/1.018, allocations: 2.945 MB / 1.44 GB, free: 3.777 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/1.018, allocations: 37.64 kB / 1.44 GB, free: 3.734 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008623/1.019, allocations: 1.067 MB / 1.441 GB, free: 2.66 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 9.799e-05/1.019, allocations: 123 kB / 1.442 GB, free: 2.539 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/1.019, allocations: 110.2 kB / 1.442 GB, free: 2.426 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.019, allocations: 330 kB / 1.442 GB, free: 2.098 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/1.019, allocations: 161 kB / 1.442 GB, free: 1.938 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/1.019, allocations: 374.3 kB / 1.442 GB, free: 1.488 MB / 1.123 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.001874/1.021, allocations: 1.076 MB / 1.444 GB, free: 316 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.021, allocations: 0 / 1.444 GB, free: 316 kB / 1.123 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001061/1.022, allocations: 0.8162 MB / 1.444 GB, free: 15.48 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.022, allocations: 9.875 kB / 1.444 GB, free: 15.47 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.022, allocations: 4.75 kB / 1.444 GB, free: 15.46 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/1.023, allocations: 68.81 kB / 1.444 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/1.023, allocations: 95.84 kB / 1.444 GB, free: 15.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/1.024, allocations: 1.867 MB / 1.446 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/1.025, allocations: 23.12 kB / 1.446 GB, free: 13.28 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/1.025, allocations: 27.98 kB / 1.446 GB, free: 13.25 MB / 1.139 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.0008407/1.026, allocations: 0.7988 MB / 1.447 GB, free: 12.45 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/1.026, allocations: 246.4 kB / 1.447 GB, free: 12.2 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003125/1.026, allocations: 251.7 kB / 1.448 GB, free: 11.96 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.026, allocations: 4 kB / 1.448 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.026, allocations: 0 / 1.448 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005998/1.027, allocations: 0.597 MB / 1.448 GB, free: 11.29 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002456/1.03, allocations: 2.048 MB / 1.45 GB, free: 9.133 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.03, allocations: 4 kB / 1.45 GB, free: 9.129 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/1.03, allocations: 59.91 kB / 1.45 GB, free: 9.07 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/1.03, allocations: 60.81 kB / 1.45 GB, free: 9.008 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/1.03, allocations: 8 kB / 1.45 GB, free: 9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/1.031, allocations: 1.867 MB / 1.452 GB, free: 6.992 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.031, allocations: 7.938 kB / 1.452 GB, free: 6.984 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009301/1.032, allocations: 0.9373 MB / 1.453 GB, free: 5.988 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005027/1.033, allocations: 427.3 kB / 1.453 GB, free: 5.551 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/1.033, allocations: 12.06 kB / 1.453 GB, free: 5.539 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005332/1.033, allocations: 22.36 kB / 1.453 GB, free: 5.52 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/1.033, allocations: 31.84 kB / 1.454 GB, free: 5.488 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/1.033, allocations: 16.25 kB / 1.454 GB, free: 5.473 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002242/1.036, allocations: 2.083 MB / 1.456 GB, free: 3.387 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.036, allocations: 0 / 1.456 GB, free: 3.387 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008251/1.037, allocations: 308 kB / 1.456 GB, free: 3.086 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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 Backend phase and start with SimCode phase: time 0.0003169/1.037, allocations: 165.2 kB / 1.456 GB, free: 2.922 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0007367/1.038, allocations: 0.5067 MB / 1.457 GB, free: 2.402 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.038, allocations: 4 kB / 1.457 GB, free: 2.398 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/1.038, allocations: 299.7 kB / 1.457 GB, free: 2.094 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/1.041, allocations: 0.9534 MB / 1.458 GB, free: 1.172 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004965/1.046, allocations: 4.213 MB / 1.462 GB, free: 12.88 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/1.047, allocations: 1.957 MB / 1.464 GB, free: 10.88 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008222/1.048, allocations: 338.8 kB / 1.464 GB, free: 10.54 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/1.048, allocations: 103.4 kB / 1.464 GB, free: 10.45 MB / 1.154 GB Notification: Performance of SimCode: time 6.61e-07/1.048, allocations: 0 / 1.464 GB, free: 10.45 MB / 1.154 GB Notification: Performance of Templates: time 0.04242/1.09, allocations: 30.04 MB / 1.494 GB, free: 12.85 MB / 1.186 GB make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches