Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_10_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_10_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.001457/0.001457, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001403/0.001403, allocations: 193.8 kB / 16.14 MB, free: 6.629 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.291/1.291, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.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.407/2.407, allocations: 437 MB / 0.7099 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 63.89 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.489/0.4909, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1836/0.6745, allocations: 176.9 MB / 1.189 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01582/0.6903, allocations: 10.95 MB / 1.2 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002399/0.6928, allocations: 75.56 kB / 1.2 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005244/0.698, allocations: 1.835 MB / 1.202 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004013/0.7021, allocations: 1.485 MB / 1.203 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.7042, allocations: 0.7133 MB / 1.204 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004507/0.7087, allocations: 3.702 MB / 1.208 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.7104, allocations: 1.164 MB / 1.209 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.7121, allocations: 0.9871 MB / 1.21 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.7144, allocations: 1.121 MB / 1.211 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003357/0.7148, allocations: 84 kB / 1.211 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.7168, allocations: 1.002 MB / 1.212 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005598/0.7174, allocations: 434 kB / 1.212 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.7188, allocations: 1.041 MB / 1.213 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003546/0.7224, allocations: 3.115 MB / 1.216 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7224, allocations: 0 / 1.216 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.71e-07/0.7224, allocations: 0 / 1.216 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.014e-05/0.7225, allocations: 4 kB / 1.216 GB, free: 5.387 MB / 0.9669 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.004287/0.7268, allocations: 2.704 MB / 1.219 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.7268, allocations: 12.03 kB / 1.219 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.7281, allocations: 368.5 kB / 1.219 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.7308, allocations: 1.884 MB / 1.221 GB, free: 300 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.7309, allocations: 54 kB / 1.221 GB, free: 244 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.731, allocations: 79.91 kB / 1.221 GB, free: 164 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.7324, allocations: 0.9523 MB / 1.222 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.7324, allocations: 0 / 1.222 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.078e-05/0.7325, allocations: 32 kB / 1.222 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.434e-05/0.7325, allocations: 28.94 kB / 1.222 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.7336, allocations: 0.6947 MB / 1.223 GB, free: 14.41 MB / 0.9825 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.005371/0.7389, allocations: 4.483 MB / 1.227 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/0.7394, allocations: 318.6 kB / 1.228 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.7397, allocations: 176.7 kB / 1.228 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.7399, allocations: 101.3 kB / 1.228 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.7399, allocations: 38.5 kB / 1.228 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 2.274e-06/0.7399, allocations: 0 / 1.228 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.002905/0.7428, allocations: 1.704 MB / 1.23 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.7429, allocations: 59.41 kB / 1.23 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003616/0.7465, allocations: 2.973 MB / 1.233 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.7465, allocations: 29.7 kB / 1.233 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009436/0.7475, allocations: 1.05 MB / 1.234 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.7476, allocations: 118.4 kB / 1.234 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.7478, allocations: 110.1 kB / 1.234 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.7479, allocations: 330 kB / 1.234 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.7482, allocations: 165 kB / 1.234 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/0.7486, allocations: 370.9 kB / 1.235 GB, free: 1.941 MB / 0.9825 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.002133/0.7507, allocations: 1.077 MB / 1.236 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.7507, allocations: 11.88 kB / 1.236 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001158/0.7519, allocations: 0.7968 MB / 1.237 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.7519, allocations: 8 kB / 1.237 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.7519, allocations: 8 kB / 1.237 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.7521, allocations: 60.77 kB / 1.237 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.7525, allocations: 107.8 kB / 1.237 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.754, allocations: 1.678 MB / 1.238 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008041/0.7548, allocations: 51.8 kB / 1.238 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.7548, allocations: 24 kB / 1.238 GB, free: 13.88 MB / 0.9981 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.001013/0.7559, allocations: 0.79 MB / 1.239 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.7561, allocations: 233.1 kB / 1.239 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.7565, allocations: 255.7 kB / 1.24 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.7565, allocations: 4 kB / 1.24 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7565, allocations: 128 / 1.24 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006873/0.7572, allocations: 0.6048 MB / 1.24 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.76, allocations: 2.062 MB / 1.242 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.76, allocations: 4 kB / 1.242 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.7603, allocations: 67.84 kB / 1.242 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/0.7604, allocations: 56.81 kB / 1.242 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.7605, allocations: 12 kB / 1.242 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.7619, allocations: 1.67 MB / 1.244 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7619, allocations: 4 kB / 1.244 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.763, allocations: 0.9411 MB / 1.245 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/0.7636, allocations: 410.1 kB / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.7638, allocations: 12 kB / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/0.7643, allocations: 27.95 kB / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.7644, allocations: 31.84 kB / 1.245 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.7644, allocations: 24.11 kB / 1.246 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002673/0.7671, allocations: 2.103 MB / 1.248 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7671, allocations: 0 / 1.248 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009078/0.768, allocations: 300 kB / 1.248 GB, free: 3.879 MB / 0.9981 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.000386/0.7684, allocations: 182 kB / 1.248 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008223/0.7692, allocations: 0.5225 MB / 1.249 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7693, allocations: 0 / 1.249 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.7696, allocations: 299.6 kB / 1.249 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003181/0.7728, allocations: 0.8835 MB / 1.25 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3784/1.151, allocations: 4.746 MB / 1.254 GB, free: 229 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001636/1.153, allocations: 1.956 MB / 1.256 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0012/1.154, allocations: 343.8 kB / 1.257 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/1.154, allocations: 101.5 kB / 1.257 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/1.154, allocations: 0 / 1.257 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04282/1.197, allocations: 28.68 MB / 1.285 GB, free: 216.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches