Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|air.vol.T|air.vol.Xi.1.",fileNamePrefix="Buildings_9_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_9_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.0007068/0.0007068, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004111/0.004111, allocations: 173.8 kB / 16.27 MB, free: 6.66 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.185/1.185, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.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.085/2.085, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002942, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5403/0.5407, allocations: 142.4 MB / 0.955 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1633/0.704, allocations: 174.5 MB / 1.125 GB, free: 228 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01445/0.7184, allocations: 10.83 MB / 1.136 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/0.7209, allocations: 75.56 kB / 1.136 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004889/0.7258, allocations: 1.835 MB / 1.138 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004103/0.7299, allocations: 1.485 MB / 1.139 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.7318, allocations: 0.7076 MB / 1.14 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0042/0.736, allocations: 3.705 MB / 1.144 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.7376, allocations: 1.129 MB / 1.145 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.7391, allocations: 0.9636 MB / 1.146 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.7408, allocations: 1.067 MB / 1.147 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.741, allocations: 76 kB / 1.147 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.7425, allocations: 0.9898 MB / 1.148 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003517/0.7429, allocations: 410.1 kB / 1.148 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008529/0.7438, allocations: 1.042 MB / 1.149 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.7462, allocations: 3.048 MB / 1.152 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.7462, allocations: 0 / 1.152 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7463, allocations: 0 / 1.152 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.7463, allocations: 0 / 1.152 GB, free: 4.754 MB / 0.9044 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.002869/0.7491, allocations: 2.312 MB / 1.154 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.7492, allocations: 16.03 kB / 1.154 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.7504, allocations: 372.5 kB / 1.155 GB, free: 2 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.7528, allocations: 1.884 MB / 1.157 GB, free: 48 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.7528, allocations: 58.08 kB / 1.157 GB, free: 15.99 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.7529, allocations: 76 kB / 1.157 GB, free: 15.91 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.7542, allocations: 0.9406 MB / 1.158 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.7542, allocations: 3.938 kB / 1.158 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.495e-05/0.7543, allocations: 32 kB / 1.158 GB, free: 14.9 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-05/0.7544, allocations: 32.92 kB / 1.158 GB, free: 14.87 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009743/0.7553, allocations: 0.6947 MB / 1.158 GB, free: 14.17 MB / 0.92 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.004695/0.76, allocations: 4.507 MB / 1.163 GB, free: 9.449 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.7605, allocations: 314.6 kB / 1.163 GB, free: 9.133 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.7607, allocations: 172.8 kB / 1.163 GB, free: 8.961 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.7609, allocations: 101.1 kB / 1.163 GB, free: 8.844 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.7609, allocations: 34.56 kB / 1.163 GB, free: 8.801 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.7609, allocations: 0 / 1.163 GB, free: 8.801 MB / 0.92 GB Notification: Performance of matching and sorting (n=32): time 0.002505/0.7634, allocations: 1.712 MB / 1.165 GB, free: 7.008 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.7635, allocations: 55.41 kB / 1.165 GB, free: 6.941 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/0.7667, allocations: 2.977 MB / 1.168 GB, free: 3.949 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.7667, allocations: 33.7 kB / 1.168 GB, free: 3.91 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008385/0.7676, allocations: 1.054 MB / 1.169 GB, free: 2.852 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.7677, allocations: 114.4 kB / 1.169 GB, free: 2.738 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.7677, allocations: 49.69 kB / 1.169 GB, free: 2.684 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.7678, allocations: 326 kB / 1.17 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.7681, allocations: 165 kB / 1.17 GB, free: 2.199 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.7684, allocations: 376 kB / 1.17 GB, free: 1.742 MB / 0.92 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.001905/0.7703, allocations: 1.079 MB / 1.171 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.7704, allocations: 7.938 kB / 1.171 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00101/0.7714, allocations: 0.7881 MB / 1.172 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.7714, allocations: 11.98 kB / 1.172 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.7714, allocations: 8 kB / 1.172 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.7716, allocations: 53.36 kB / 1.172 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.7719, allocations: 107.8 kB / 1.172 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.7733, allocations: 1.678 MB / 1.174 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007052/0.774, allocations: 46.88 kB / 1.174 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.7741, allocations: 24 kB / 1.174 GB, free: 13.69 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0008481/0.7749, allocations: 0.798 MB / 1.175 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.7752, allocations: 233.2 kB / 1.175 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.7755, allocations: 255.7 kB / 1.175 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.7755, allocations: 8 kB / 1.175 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.7755, allocations: 0 / 1.175 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006194/0.7761, allocations: 0.6047 MB / 1.176 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.7787, allocations: 2.057 MB / 1.178 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.7787, allocations: 4 kB / 1.178 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.779, allocations: 67.84 kB / 1.178 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001226/0.7791, allocations: 52.83 kB / 1.178 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.7791, allocations: 16.39 kB / 1.178 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.7804, allocations: 1.67 MB / 1.179 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7804, allocations: 4.062 kB / 1.179 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009985/0.7814, allocations: 0.9268 MB / 1.18 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004868/0.7819, allocations: 410.1 kB / 1.181 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.7821, allocations: 16.19 kB / 1.181 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005808/0.7826, allocations: 31.89 kB / 1.181 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.7827, allocations: 31.84 kB / 1.181 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/0.7827, allocations: 20 kB / 1.181 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002371/0.7851, allocations: 2.099 MB / 1.183 GB, free: 4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7851, allocations: 0 / 1.183 GB, free: 4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008428/0.786, allocations: 304 kB / 1.183 GB, free: 3.703 MB / 0.9356 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.0003552/0.7863, allocations: 188.4 kB / 1.183 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007593/0.7871, allocations: 0.5228 MB / 1.184 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7871, allocations: 0 / 1.184 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.7875, allocations: 310.7 kB / 1.184 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004207/0.7917, allocations: 0.8735 MB / 1.185 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005069/0.7968, allocations: 4.847 MB / 1.19 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.7981, allocations: 1.957 MB / 1.192 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008638/0.799, allocations: 338.5 kB / 1.192 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.7992, allocations: 103.4 kB / 1.192 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of SimCode: time 4.2e-07/0.7992, allocations: 0 / 1.192 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of Templates: time 0.04228/0.8415, allocations: 28.49 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches