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.0009529/0.0009529, allocations: 98.19 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.004957/0.004957, allocations: 169.6 kB / 16.27 MB, free: 6.648 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.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.603/2.603, allocations: 470.6 MB / 0.7442 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002969, allocations: 21.03 kB / 0.9123 GB, free: 34.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2584, allocations: 161.4 MB / 1.07 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1827/0.4411, allocations: 174.5 MB / 1.24 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.4558, allocations: 10.82 MB / 1.251 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.4574, allocations: 71.56 kB / 1.251 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.4921/0.9494, allocations: 1.829 MB / 1.253 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003997/0.9535, allocations: 1.482 MB / 1.254 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.9553, allocations: 0.7023 MB / 1.255 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003767/0.959, allocations: 3.705 MB / 1.258 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.9602, allocations: 1.141 MB / 1.26 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.9614, allocations: 0.9543 MB / 1.261 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.963, allocations: 1.072 MB / 1.262 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.9632, allocations: 70.34 kB / 1.262 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.9647, allocations: 0.9983 MB / 1.263 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.9651, allocations: 412.6 kB / 1.263 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007743/0.9659, allocations: 1.043 MB / 1.264 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002677/0.9686, allocations: 3.051 MB / 1.267 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.9686, allocations: 0 / 1.267 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9686, allocations: 0 / 1.267 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.84e-05/0.9686, allocations: 0 / 1.267 GB, free: 5.465 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.002683/0.9713, allocations: 2.312 MB / 1.269 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.9713, allocations: 9.531 kB / 1.269 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.9725, allocations: 372.8 kB / 1.27 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/0.9754, allocations: 1.88 MB / 1.271 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/0.9755, allocations: 60.12 kB / 1.272 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.9756, allocations: 80.53 kB / 1.272 GB, free: 19.44 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.977, allocations: 0.9373 MB / 1.273 GB, free: 19.28 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.977, allocations: 3.469 kB / 1.273 GB, free: 19.28 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.534e-05/0.9771, allocations: 32.75 kB / 1.273 GB, free: 19.28 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.9771, allocations: 25.14 kB / 1.273 GB, free: 19.28 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.9782, allocations: 0.7007 MB / 1.273 GB, free: 19.28 MB / 1.014 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.005626/0.9838, allocations: 4.504 MB / 1.278 GB, free: 17.28 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.9843, allocations: 311.2 kB / 1.278 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.9845, allocations: 185 kB / 1.278 GB, free: 17.24 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001646/0.9847, allocations: 95.08 kB / 1.278 GB, free: 17.14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.9847, allocations: 35.31 kB / 1.278 GB, free: 17.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.9847, allocations: 1.438 kB / 1.278 GB, free: 17.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.002585/0.9873, allocations: 1.71 MB / 1.28 GB, free: 16.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.9873, allocations: 54.52 kB / 1.28 GB, free: 16.24 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00343/0.9908, allocations: 2.977 MB / 1.283 GB, free: 16.01 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.9908, allocations: 35.52 kB / 1.283 GB, free: 15.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006661/0.9915, allocations: 1.053 MB / 1.284 GB, free: 15.77 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/0.9916, allocations: 125.3 kB / 1.284 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.9917, allocations: 43.14 kB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.9918, allocations: 326.4 kB / 1.284 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.992, allocations: 171.7 kB / 1.285 GB, free: 15.37 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.9923, allocations: 362.2 kB / 1.285 GB, free: 15.14 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.001794/0.9941, allocations: 1.081 MB / 1.286 GB, free: 14.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9941, allocations: 1.312 kB / 1.286 GB, free: 14.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001003/0.9951, allocations: 0.797 MB / 1.287 GB, free: 14.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.9951, allocations: 7.531 kB / 1.287 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.9952, allocations: 9.125 kB / 1.287 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.9953, allocations: 63.17 kB / 1.287 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.9956, allocations: 101 kB / 1.287 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.9971, allocations: 1.681 MB / 1.289 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007764/0.9979, allocations: 47.83 kB / 1.289 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.9979, allocations: 25.95 kB / 1.289 GB, free: 13.26 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 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.0008577/0.9988, allocations: 0.7941 MB / 1.289 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.999, allocations: 238 kB / 1.29 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/0.9993, allocations: 258.8 kB / 1.29 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.9993, allocations: 3.531 kB / 1.29 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.9993, allocations: 1.375 kB / 1.29 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00061/0.9999, allocations: 0.5965 MB / 1.29 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/1.003, allocations: 2.051 MB / 1.292 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.003, allocations: 3.156 kB / 1.292 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/1.003, allocations: 69.5 kB / 1.293 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/1.003, allocations: 54.61 kB / 1.293 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/1.003, allocations: 10.06 kB / 1.293 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/1.004, allocations: 1.689 MB / 1.294 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.004, allocations: 6.375 kB / 1.294 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009549/1.005, allocations: 0.9233 MB / 1.295 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005249/1.006, allocations: 414.9 kB / 1.296 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/1.006, allocations: 17.31 kB / 1.296 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005731/1.007, allocations: 25 kB / 1.296 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/1.007, allocations: 34.67 kB / 1.296 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/1.007, allocations: 17.83 kB / 1.296 GB, free: 10.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00241/1.009, allocations: 2.102 MB / 1.298 GB, free: 10.04 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.009, allocations: 3.938 kB / 1.298 GB, free: 10.03 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009045/1.01, allocations: 308.7 kB / 1.298 GB, free: 10.02 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.0003743/1.01, allocations: 174.7 kB / 1.298 GB, free: 9.918 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007261/1.011, allocations: 0.521 MB / 1.299 GB, free: 9.801 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.011, allocations: 1.062 kB / 1.299 GB, free: 9.801 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003261/1.011, allocations: 304.9 kB / 1.299 GB, free: 9.684 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/1.016, allocations: 0.8774 MB / 1.3 GB, free: 9.594 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005421/1.021, allocations: 4.843 MB / 1.305 GB, free: 7.48 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.022, allocations: 1.956 MB / 1.306 GB, free: 6.715 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001009/1.023, allocations: 338.5 kB / 1.307 GB, free: 6.652 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/1.024, allocations: 105.4 kB / 1.307 GB, free: 6.645 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/1.024, allocations: 0 / 1.307 GB, free: 6.645 MB / 1.014 GB Notification: Performance of Templates: time 0.04507/1.069, allocations: 28.48 MB / 1.335 GB, free: 14.05 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/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