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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001182/0.001182, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.17/1.17, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.329/2.329, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 67.56 kB / 0.8984 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2526, allocations: 157.4 MB / 1.052 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1569/0.4095, allocations: 176.9 MB / 1.225 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.4225, allocations: 10.94 MB / 1.236 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.4246, allocations: 79.56 kB / 1.236 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004477/0.4291, allocations: 1.839 MB / 1.237 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003653/0.4328, allocations: 1.481 MB / 1.239 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.4347, allocations: 0.7162 MB / 1.24 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003835/0.4386, allocations: 3.702 MB / 1.243 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.4398, allocations: 1.168 MB / 1.244 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.441, allocations: 1.003 MB / 1.245 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00148/0.4425, allocations: 1.114 MB / 1.246 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.4427, allocations: 84 kB / 1.246 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.4442, allocations: 1.009 MB / 1.247 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.4817/0.9259, allocations: 423.6 kB / 1.248 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.9274, allocations: 1.047 MB / 1.249 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003275/0.9307, allocations: 3.1 MB / 1.252 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.9307, allocations: 0 / 1.252 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.72e-07/0.9307, allocations: 0.9688 kB / 1.252 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.051e-05/0.9307, allocations: 0.5938 kB / 1.252 GB, free: 7.168 MB / 0.9981 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.003222/0.934, allocations: 2.709 MB / 1.255 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.934, allocations: 9.75 kB / 1.255 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.9352, allocations: 369.6 kB / 1.255 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.9375, allocations: 1.885 MB / 1.257 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.9376, allocations: 59.38 kB / 1.257 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.9377, allocations: 74.31 kB / 1.257 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.9389, allocations: 0.9411 MB / 1.258 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.939, allocations: 0 / 1.258 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.939, allocations: 31.78 kB / 1.258 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.9391, allocations: 25.95 kB / 1.258 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009277/0.94, allocations: 0.7059 MB / 1.259 GB, free: 4.895 MB / 0.9981 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.004504/0.9445, allocations: 4.497 MB / 1.263 GB, free: 18.91 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.9449, allocations: 304.8 kB / 1.263 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.9451, allocations: 180.7 kB / 1.263 GB, free: 18.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.9453, allocations: 96.08 kB / 1.263 GB, free: 18.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.9453, allocations: 37.61 kB / 1.264 GB, free: 18.74 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.993e-06/0.9453, allocations: 1.172 kB / 1.264 GB, free: 18.74 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.002551/0.9479, allocations: 1.706 MB / 1.265 GB, free: 17.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.9479, allocations: 54.91 kB / 1.265 GB, free: 17.89 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003947/0.9519, allocations: 2.974 MB / 1.268 GB, free: 17.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.9519, allocations: 33.78 kB / 1.268 GB, free: 17.62 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007394/0.9527, allocations: 1.048 MB / 1.269 GB, free: 17.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.9528, allocations: 123.9 kB / 1.269 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.9529, allocations: 109.8 kB / 1.269 GB, free: 17.31 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.953, allocations: 325.9 kB / 1.27 GB, free: 17.01 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.9533, allocations: 165.2 kB / 1.27 GB, free: 17.01 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.9536, allocations: 366.4 kB / 1.27 GB, free: 16.77 MB / 1.014 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.002008/0.9556, allocations: 1.089 MB / 1.271 GB, free: 16.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.9557, allocations: 2.047 kB / 1.271 GB, free: 16.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001306/0.957, allocations: 0.7896 MB / 1.272 GB, free: 16.26 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.957, allocations: 8.688 kB / 1.272 GB, free: 16.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.957, allocations: 7.094 kB / 1.272 GB, free: 16.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/0.9572, allocations: 67.62 kB / 1.272 GB, free: 16.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.9576, allocations: 102.5 kB / 1.272 GB, free: 16.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.9589, allocations: 1.678 MB / 1.274 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008969/0.9599, allocations: 40.34 kB / 1.274 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.9599, allocations: 27.58 kB / 1.274 GB, free: 14.91 MB / 1.014 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.0009351/0.9608, allocations: 0.7912 MB / 1.275 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.9611, allocations: 242.6 kB / 1.275 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.9614, allocations: 252 kB / 1.275 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.9614, allocations: 8.406 kB / 1.275 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.9614, allocations: 2.031 kB / 1.275 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005863/0.962, allocations: 0.6019 MB / 1.276 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.9646, allocations: 2.055 MB / 1.278 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.9646, allocations: 2.75 kB / 1.278 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.9649, allocations: 62.33 kB / 1.278 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/0.9651, allocations: 63.97 kB / 1.278 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.9651, allocations: 9.391 kB / 1.278 GB, free: 13.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.9663, allocations: 1.673 MB / 1.28 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9663, allocations: 4.578 kB / 1.28 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009445/0.9672, allocations: 0.9268 MB / 1.28 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005025/0.9677, allocations: 414.7 kB / 1.281 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.9679, allocations: 16.36 kB / 1.281 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005749/0.9685, allocations: 29.86 kB / 1.281 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.9686, allocations: 37.97 kB / 1.281 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.9686, allocations: 11 kB / 1.281 GB, free: 11.84 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002302/0.9709, allocations: 2.106 MB / 1.283 GB, free: 11.69 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9709, allocations: 0 / 1.283 GB, free: 11.69 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009431/0.9719, allocations: 304.4 kB / 1.283 GB, free: 11.68 MB / 1.014 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.0003292/0.9722, allocations: 177.3 kB / 1.283 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007172/0.9729, allocations: 0.5192 MB / 1.284 GB, free: 11.47 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9729, allocations: 1.656 kB / 1.284 GB, free: 11.47 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.9733, allocations: 301.8 kB / 1.284 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003109/0.9764, allocations: 0.8912 MB / 1.285 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/0.9815, allocations: 4.751 MB / 1.29 GB, free: 9.199 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.9828, allocations: 1.955 MB / 1.292 GB, free: 8.434 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009407/0.9837, allocations: 343.5 kB / 1.292 GB, free: 8.391 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.9839, allocations: 101 kB / 1.292 GB, free: 8.387 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/0.9839, allocations: 0 / 1.292 GB, free: 8.387 MB / 1.014 GB Notification: Performance of Templates: time 0.0401/1.024, allocations: 28.68 MB / 1.32 GB, free: 3.418 MB / 1.014 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/jenkins/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