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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008337/0.0008338, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 185.5 kB / 16.93 MB, free: 6.703 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.445/1.445, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.603/2.603, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003791, allocations: 8.234 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.75/0.7503, allocations: 142.4 MB / 0.9557 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1973/0.9477, allocations: 174.5 MB / 1.126 GB, free: 236 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01769/0.9654, allocations: 10.81 MB / 1.137 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003748/0.9692, allocations: 71.56 kB / 1.137 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.006446/0.9757, allocations: 1.847 MB / 1.139 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0054/0.9811, allocations: 1.488 MB / 1.14 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.9839, allocations: 0.7005 MB / 1.141 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006065/0.99, allocations: 3.71 MB / 1.144 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002371/0.9924, allocations: 1.129 MB / 1.145 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.9947, allocations: 0.9675 MB / 1.146 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.9975, allocations: 1.071 MB / 1.147 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005199/0.9981, allocations: 72 kB / 1.147 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/1.001, allocations: 0.9859 MB / 1.148 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007859/1.002, allocations: 414.1 kB / 1.149 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00211/1.004, allocations: 1.038 MB / 1.15 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003551/1.007, allocations: 2.42 MB / 1.152 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.007, allocations: 4 kB / 1.152 GB, free: 5.398 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.374e-06/1.007, allocations: 0 / 1.152 GB, free: 5.398 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001177/1.007, allocations: 0 / 1.152 GB, free: 5.398 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.004551/1.012, allocations: 2.312 MB / 1.154 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.012, allocations: 8.031 kB / 1.154 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/1.014, allocations: 380.5 kB / 1.155 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004184/1.018, allocations: 1.876 MB / 1.157 GB, free: 0.6992 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-05/1.018, allocations: 58 kB / 1.157 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/1.018, allocations: 79.98 kB / 1.157 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/1.02, allocations: 0.9368 MB / 1.158 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/1.02, allocations: 3.984 kB / 1.158 GB, free: 15.58 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.975e-05/1.021, allocations: 32 kB / 1.158 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.032e-05/1.021, allocations: 28.94 kB / 1.158 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/1.022, allocations: 0.7064 MB / 1.158 GB, free: 14.81 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.007737/1.03, allocations: 4.499 MB / 1.163 GB, free: 10.1 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/1.03, allocations: 306.6 kB / 1.163 GB, free: 9.793 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/1.031, allocations: 182.5 kB / 1.163 GB, free: 9.613 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/1.031, allocations: 97.09 kB / 1.163 GB, free: 9.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/1.031, allocations: 38.56 kB / 1.163 GB, free: 9.453 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 2.425e-06/1.031, allocations: 3.938 kB / 1.163 GB, free: 9.449 MB / 0.92 GB Notification: Performance of matching and sorting (n=32): time 0.004045/1.035, allocations: 1.704 MB / 1.165 GB, free: 7.664 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/1.035, allocations: 63.39 kB / 1.165 GB, free: 7.59 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005376/1.04, allocations: 2.969 MB / 1.168 GB, free: 4.605 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.664e-05/1.04, allocations: 37.7 kB / 1.168 GB, free: 4.562 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/1.041, allocations: 1.054 MB / 1.169 GB, free: 3.504 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/1.042, allocations: 110.4 kB / 1.169 GB, free: 3.395 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.75e-05/1.042, allocations: 49.69 kB / 1.169 GB, free: 3.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.042, allocations: 326 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/1.042, allocations: 165 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/1.043, allocations: 376 kB / 1.17 GB, free: 2.398 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.002352/1.045, allocations: 1.087 MB / 1.171 GB, free: 1.207 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/1.045, allocations: 3.938 kB / 1.171 GB, free: 1.203 MB / 0.92 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001517/1.046, allocations: 0.7962 MB / 1.172 GB, free: 404 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/1.046, allocations: 8 kB / 1.172 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.047, allocations: 4 kB / 1.172 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/1.047, allocations: 60.83 kB / 1.172 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/1.047, allocations: 99.83 kB / 1.172 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/1.049, allocations: 1.69 MB / 1.174 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.05, allocations: 49.53 kB / 1.174 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/1.05, allocations: 20 kB / 1.174 GB, free: 14.34 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.001366/1.051, allocations: 0.7978 MB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004672/1.052, allocations: 229.1 kB / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006444/1.053, allocations: 251.7 kB / 1.175 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/1.053, allocations: 11.94 kB / 1.175 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/1.053, allocations: 3.984 kB / 1.175 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007357/1.053, allocations: 0.597 MB / 1.176 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004069/1.057, allocations: 2.049 MB / 1.178 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.057, allocations: 0.5312 kB / 1.178 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/1.058, allocations: 79.84 kB / 1.178 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000178/1.058, allocations: 56.81 kB / 1.178 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/1.058, allocations: 12 kB / 1.178 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/1.06, allocations: 1.67 MB / 1.179 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/1.06, allocations: 7.938 kB / 1.179 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/1.061, allocations: 0.9286 MB / 1.18 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008839/1.062, allocations: 414.1 kB / 1.181 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004261/1.062, allocations: 12 kB / 1.181 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008633/1.063, allocations: 27.95 kB / 1.181 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/1.063, allocations: 35.84 kB / 1.181 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/1.063, allocations: 15.98 kB / 1.181 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00394/1.067, allocations: 2.103 MB / 1.183 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.067, allocations: 0 / 1.183 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001465/1.069, allocations: 307.9 kB / 1.183 GB, free: 4.344 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.0005482/1.069, allocations: 172.6 kB / 1.183 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00112/1.07, allocations: 0.5303 MB / 1.184 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.07, allocations: 0 / 1.184 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004581/1.071, allocations: 299.6 kB / 1.184 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00572/1.077, allocations: 0.881 MB / 1.185 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007585/1.084, allocations: 4.651 MB / 1.19 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/1.086, allocations: 1.812 MB / 1.191 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/1.087, allocations: 107.4 kB / 1.191 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of SimCode: time 9.82e-07/1.087, allocations: 0 / 1.191 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of Templates: time 0.06343/1.15, allocations: 42.48 MB / 1.233 GB, free: 1.492 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/jenkins1/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