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.001997/0.001996, allocations: 110.4 kB / 15.99 MB, free: 5.891 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.002493/0.002493, allocations: 195.7 kB / 16.91 MB, free: 5.746 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.563/1.563, allocations: 222.9 MB / 240.6 MB, free: 4.547 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.912/2.912, allocations: 469.8 MB / 0.7427 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 66.45 kB / 0.9087 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3758, allocations: 159.2 MB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.228/0.6038, allocations: 176.8 MB / 1.237 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01883/0.6227, allocations: 10.83 MB / 1.247 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003388/0.6262, allocations: 75.56 kB / 1.247 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006263/0.6324, allocations: 1.878 MB / 1.249 GB, free: 316 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.7877/1.42, allocations: 1.47 MB / 1.251 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002524/1.423, allocations: 0.7216 MB / 1.251 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005325/1.428, allocations: 3.155 MB / 1.255 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/1.43, allocations: 1.309 MB / 1.256 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/1.432, allocations: 1.116 MB / 1.257 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/1.435, allocations: 1.155 MB / 1.258 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002662/1.435, allocations: 129.2 kB / 1.258 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/1.437, allocations: 0.958 MB / 1.259 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004697/1.438, allocations: 481.4 kB / 1.26 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001229/1.439, allocations: 1.103 MB / 1.261 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003345/1.442, allocations: 2.611 MB / 1.263 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.442, allocations: 2.625 kB / 1.263 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.984e-06/1.442, allocations: 1.484 kB / 1.263 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.892e-05/1.442, allocations: 0 / 1.263 GB, free: 5.332 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.003963/1.446, allocations: 2.749 MB / 1.266 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/1.446, allocations: 10.25 kB / 1.266 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/1.448, allocations: 373.8 kB / 1.266 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003273/1.451, allocations: 1.885 MB / 1.268 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/1.451, allocations: 59.38 kB / 1.268 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/1.451, allocations: 80.06 kB / 1.268 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/1.453, allocations: 0.9458 MB / 1.269 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/1.453, allocations: 0 / 1.269 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.931e-05/1.453, allocations: 31.56 kB / 1.269 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-05/1.453, allocations: 26.12 kB / 1.269 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/1.454, allocations: 0.7048 MB / 1.27 GB, free: 3.02 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.007595/1.462, allocations: 4.484 MB / 1.274 GB, free: 17.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/1.462, allocations: 320.4 kB / 1.275 GB, free: 17.01 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/1.463, allocations: 182.3 kB / 1.275 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/1.463, allocations: 95.94 kB / 1.275 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.463, allocations: 37.61 kB / 1.275 GB, free: 16.87 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.455e-06/1.463, allocations: 0 / 1.275 GB, free: 16.87 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.003366/1.466, allocations: 1.705 MB / 1.277 GB, free: 16.08 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/1.466, allocations: 56.77 kB / 1.277 GB, free: 16.02 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004296/1.471, allocations: 2.972 MB / 1.279 GB, free: 15.79 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.405e-05/1.471, allocations: 32.14 kB / 1.28 GB, free: 15.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008281/1.472, allocations: 1.057 MB / 1.281 GB, free: 15.54 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/1.472, allocations: 116.5 kB / 1.281 GB, free: 15.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/1.472, allocations: 109.5 kB / 1.281 GB, free: 15.44 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.472, allocations: 325.5 kB / 1.281 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/1.472, allocations: 168 kB / 1.281 GB, free: 15.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/1.473, allocations: 372.8 kB / 1.282 GB, free: 14.91 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.002118/1.475, allocations: 1.077 MB / 1.283 GB, free: 14.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.475, allocations: 2.031 kB / 1.283 GB, free: 14.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001388/1.476, allocations: 0.7979 MB / 1.283 GB, free: 14.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/1.476, allocations: 8.625 kB / 1.283 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/1.476, allocations: 7.531 kB / 1.283 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002162/1.476, allocations: 61.5 kB / 1.283 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/1.477, allocations: 104.9 kB / 1.284 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/1.479, allocations: 1.862 MB / 1.285 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/1.48, allocations: 47.33 kB / 1.285 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/1.48, allocations: 24.06 kB / 1.285 GB, free: 12.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.001328/1.481, allocations: 0.7981 MB / 1.286 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/1.481, allocations: 233.7 kB / 1.286 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/1.482, allocations: 249.9 kB / 1.287 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.482, allocations: 8.609 kB / 1.287 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/1.482, allocations: 0.9062 kB / 1.287 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000729/1.483, allocations: 0.6011 MB / 1.287 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/1.486, allocations: 2.049 MB / 1.289 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.486, allocations: 3.406 kB / 1.289 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/1.486, allocations: 68.77 kB / 1.289 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001505/1.486, allocations: 62.19 kB / 1.289 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/1.486, allocations: 16.89 kB / 1.289 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/1.488, allocations: 1.865 MB / 1.291 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.488, allocations: 3.906 kB / 1.291 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/1.489, allocations: 0.9267 MB / 1.292 GB, free: 9.922 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007322/1.49, allocations: 412.2 kB / 1.293 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/1.49, allocations: 13.53 kB / 1.293 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006487/1.491, allocations: 28.03 kB / 1.293 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/1.491, allocations: 38.39 kB / 1.293 GB, free: 9.695 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/1.491, allocations: 14.97 kB / 1.293 GB, free: 9.695 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003523/1.495, allocations: 2.101 MB / 1.295 GB, free: 9.551 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.9e-07/1.495, allocations: 0 / 1.295 GB, free: 9.551 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001247/1.496, allocations: 303.5 kB / 1.295 GB, free: 9.551 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.0005318/1.496, allocations: 179.6 kB / 1.295 GB, free: 9.449 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001002/1.497, allocations: 0.5339 MB / 1.296 GB, free: 9.336 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.497, allocations: 2.094 kB / 1.296 GB, free: 9.336 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000393/1.498, allocations: 310.5 kB / 1.296 GB, free: 9.215 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/1.501, allocations: 0.9601 MB / 1.297 GB, free: 9.082 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007883/1.509, allocations: 4.571 MB / 1.301 GB, free: 7.066 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/1.511, allocations: 1.824 MB / 1.303 GB, free: 6.316 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/1.512, allocations: 119.8 kB / 1.303 GB, free: 6.309 MB / 1.014 GB Notification: Performance of SimCode: time 6.893e-06/1.512, allocations: 0 / 1.303 GB, free: 6.309 MB / 1.014 GB Notification: Performance of Templates: time 0.07401/1.586, allocations: 44.36 MB / 1.347 GB, free: 7.004 MB / 1.029 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=400 -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/jenkins1/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