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.001478/0.001478, allocations: 100.1 kB / 15.88 MB, free: 12 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.001896/0.001896, allocations: 199.5 kB / 16.79 MB, free: 6.828 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.616/1.616, allocations: 222.9 MB / 240.5 MB, free: 4.535 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.487/2.487, allocations: 390.2 MB / 0.6649 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7853/0.7868, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2112/0.998, allocations: 176.9 MB / 1.122 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01746/1.016, allocations: 10.94 MB / 1.133 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003751/1.019, allocations: 75.56 kB / 1.133 GB, free: 5.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005628/1.025, allocations: 1.843 MB / 1.135 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004781/1.03, allocations: 1.477 MB / 1.136 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/1.032, allocations: 0.7111 MB / 1.137 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004567/1.037, allocations: 3.714 MB / 1.141 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/1.038, allocations: 1.16 MB / 1.142 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/1.04, allocations: 0.9949 MB / 1.143 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/1.042, allocations: 1.115 MB / 1.144 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002205/1.042, allocations: 84 kB / 1.144 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/1.044, allocations: 1.002 MB / 1.145 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004477/1.044, allocations: 430 kB / 1.145 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001062/1.045, allocations: 1.045 MB / 1.146 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002439/1.048, allocations: 2.479 MB / 1.149 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/1.048, allocations: 0 / 1.149 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.32e-07/1.048, allocations: 3.938 kB / 1.149 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.46e-05/1.048, allocations: 0 / 1.149 GB, free: 5.469 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.00402/1.052, allocations: 2.7 MB / 1.151 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.052, allocations: 8.031 kB / 1.151 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/1.054, allocations: 376.5 kB / 1.152 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/1.056, allocations: 1.88 MB / 1.154 GB, free: 388 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/1.056, allocations: 54 kB / 1.154 GB, free: 332 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/1.057, allocations: 76 kB / 1.154 GB, free: 256 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/1.058, allocations: 0.9445 MB / 1.155 GB, free: 15.26 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/1.058, allocations: 3.938 kB / 1.155 GB, free: 15.26 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.298e-05/1.058, allocations: 32 kB / 1.155 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/1.058, allocations: 28.94 kB / 1.155 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/1.059, allocations: 0.7025 MB / 1.155 GB, free: 14.5 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.005743/1.065, allocations: 4.483 MB / 1.16 GB, free: 9.801 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/1.066, allocations: 310.6 kB / 1.16 GB, free: 9.488 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/1.066, allocations: 185.5 kB / 1.16 GB, free: 9.305 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/1.066, allocations: 93.09 kB / 1.16 GB, free: 9.195 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/1.066, allocations: 38.56 kB / 1.16 GB, free: 9.148 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 3.366e-06/1.066, allocations: 4 kB / 1.16 GB, free: 9.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=32): time 0.003035/1.069, allocations: 1.704 MB / 1.162 GB, free: 7.359 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/1.069, allocations: 55.41 kB / 1.162 GB, free: 7.293 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003873/1.073, allocations: 2.973 MB / 1.165 GB, free: 4.305 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/1.073, allocations: 33.7 kB / 1.165 GB, free: 4.266 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009565/1.074, allocations: 1.05 MB / 1.166 GB, free: 3.207 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/1.074, allocations: 122.3 kB / 1.166 GB, free: 3.086 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/1.074, allocations: 110.1 kB / 1.166 GB, free: 2.973 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.075, allocations: 330 kB / 1.167 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/1.075, allocations: 165 kB / 1.167 GB, free: 2.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/1.075, allocations: 368.1 kB / 1.167 GB, free: 2.035 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.002149/1.077, allocations: 1.083 MB / 1.168 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.077, allocations: 7.938 kB / 1.168 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001196/1.079, allocations: 0.788 MB / 1.169 GB, free: 40 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.079, allocations: 10.34 kB / 1.169 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.079, allocations: 8 kB / 1.169 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002158/1.079, allocations: 57.34 kB / 1.169 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/1.079, allocations: 111.8 kB / 1.169 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/1.081, allocations: 1.674 MB / 1.171 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008492/1.082, allocations: 51.75 kB / 1.171 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/1.082, allocations: 27.94 kB / 1.171 GB, free: 13.97 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 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.001065/1.083, allocations: 0.8018 MB / 1.172 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/1.083, allocations: 233 kB / 1.172 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/1.083, allocations: 255.7 kB / 1.172 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/1.083, allocations: 4 kB / 1.172 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/1.083, allocations: 0 / 1.172 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006914/1.084, allocations: 0.6008 MB / 1.173 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/1.087, allocations: 2.057 MB / 1.175 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.087, allocations: 4 kB / 1.175 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/1.087, allocations: 63.84 kB / 1.175 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001588/1.088, allocations: 56.83 kB / 1.175 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/1.088, allocations: 12.12 kB / 1.175 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/1.089, allocations: 1.674 MB / 1.176 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.089, allocations: 7.938 kB / 1.176 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/1.09, allocations: 0.9192 MB / 1.177 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006142/1.091, allocations: 410 kB / 1.178 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/1.091, allocations: 19.98 kB / 1.178 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006047/1.092, allocations: 24.05 kB / 1.178 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/1.092, allocations: 31.84 kB / 1.178 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/1.092, allocations: 16 kB / 1.178 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002786/1.095, allocations: 2.103 MB / 1.18 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.095, allocations: 0 / 1.18 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001037/1.096, allocations: 308 kB / 1.18 GB, free: 3.984 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.0004115/1.096, allocations: 181 kB / 1.18 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008809/1.097, allocations: 0.5252 MB / 1.181 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.097, allocations: 1.688 kB / 1.181 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003768/1.097, allocations: 304.8 kB / 1.181 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003408/1.101, allocations: 0.8868 MB / 1.182 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005897/1.107, allocations: 4.559 MB / 1.186 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/1.108, allocations: 1.816 MB / 1.188 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/1.108, allocations: 107.4 kB / 1.188 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of SimCode: time 3.2e-07/1.108, allocations: 0 / 1.188 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of Templates: time 0.05861/1.167, allocations: 42.8 MB / 1.23 GB, free: 0.8984 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