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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00105/0.00105, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001062/0.001062, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.418/2.418, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 68.48 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2575, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.614/0.8715, allocations: 179.3 MB / 1.202 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.8862, allocations: 10.97 MB / 1.213 GB, free: 11 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/0.8887, allocations: 86 kB / 1.213 GB, free: 10.97 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004887/0.8936, allocations: 2 MB / 1.215 GB, free: 9.594 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.8975, allocations: 1.615 MB / 1.216 GB, free: 8.289 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.8996, allocations: 0.7943 MB / 1.217 GB, free: 7.668 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003626/0.9032, allocations: 3.15 MB / 1.22 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.9048, allocations: 1.306 MB / 1.221 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.9064, allocations: 1.105 MB / 1.222 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.9082, allocations: 1.113 MB / 1.223 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.9084, allocations: 128.6 kB / 1.224 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.9102, allocations: 0.9162 MB / 1.224 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004714/0.9107, allocations: 482 kB / 1.225 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.9118, allocations: 1.095 MB / 1.226 GB, free: 1.398 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003398/0.9152, allocations: 3.235 MB / 1.229 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.9152, allocations: 4 kB / 1.229 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9152, allocations: 0 / 1.229 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.308e-05/0.9152, allocations: 0 / 1.229 GB, free: 14.15 MB / 0.9356 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.003952/0.9192, allocations: 2.74 MB / 1.232 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.9192, allocations: 8.031 kB / 1.232 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.9206, allocations: 380.6 kB / 1.232 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/0.9237, allocations: 2.005 MB / 1.234 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.9238, allocations: 61.94 kB / 1.234 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.9239, allocations: 83.89 kB / 1.234 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.9252, allocations: 0.9368 MB / 1.235 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.9253, allocations: 0 / 1.235 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/0.9253, allocations: 32 kB / 1.235 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.325e-05/0.9254, allocations: 28.98 kB / 1.235 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.9264, allocations: 0.7063 MB / 1.236 GB, free: 7.004 MB / 0.9356 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.005224/0.9317, allocations: 4.433 MB / 1.24 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.9322, allocations: 320.4 kB / 1.241 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.9324, allocations: 185.3 kB / 1.241 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.9326, allocations: 93.09 kB / 1.241 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.9326, allocations: 38.56 kB / 1.241 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.874e-06/0.9326, allocations: 3.938 kB / 1.241 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32): time 0.002709/0.9354, allocations: 1.7 MB / 1.243 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.9354, allocations: 51.41 kB / 1.243 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003364/0.9388, allocations: 2.957 MB / 1.245 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.9388, allocations: 33.7 kB / 1.246 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009037/0.9397, allocations: 1.058 MB / 1.247 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.9398, allocations: 118.3 kB / 1.247 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.94, allocations: 106.1 kB / 1.247 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.9401, allocations: 326 kB / 1.247 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.9403, allocations: 173 kB / 1.247 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.9407, allocations: 366.3 kB / 1.248 GB, free: 10.61 MB / 0.9512 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.002037/0.9428, allocations: 1.084 MB / 1.249 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.9428, allocations: 0 / 1.249 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001104/0.9439, allocations: 0.8007 MB / 1.249 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.9439, allocations: 8 kB / 1.249 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.9439, allocations: 4 kB / 1.249 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/0.9441, allocations: 64.81 kB / 1.249 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.9445, allocations: 111.8 kB / 1.25 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.946, allocations: 1.857 MB / 1.251 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007494/0.9467, allocations: 31.98 kB / 1.251 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.9468, allocations: 24 kB / 1.251 GB, free: 6.379 MB / 0.9512 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.0008976/0.9477, allocations: 0.795 MB / 1.252 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.9479, allocations: 233 kB / 1.252 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.9483, allocations: 255.7 kB / 1.253 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.9483, allocations: 4 kB / 1.253 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.9483, allocations: 4 kB / 1.253 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006362/0.9489, allocations: 0.6086 MB / 1.253 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.9518, allocations: 2.041 MB / 1.255 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.9518, allocations: 4 kB / 1.255 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.9522, allocations: 64.31 kB / 1.255 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001398/0.9523, allocations: 60.81 kB / 1.255 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.9524, allocations: 16.12 kB / 1.255 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.9537, allocations: 1.857 MB / 1.257 GB, free: 116 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.9537, allocations: 4 kB / 1.257 GB, free: 112 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.9548, allocations: 0.9264 MB / 1.258 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006955/0.9555, allocations: 406 kB / 1.259 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.9557, allocations: 12 kB / 1.259 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005974/0.9563, allocations: 20.59 kB / 1.259 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.9564, allocations: 35.91 kB / 1.259 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.9564, allocations: 12 kB / 1.259 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002577/0.959, allocations: 2.083 MB / 1.261 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.623e-06/0.959, allocations: 0 / 1.261 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000934/0.9599, allocations: 303.9 kB / 1.261 GB, free: 12.24 MB / 0.9669 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.0003717/0.9603, allocations: 171.2 kB / 1.261 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008167/0.9611, allocations: 0.5226 MB / 1.262 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.9612, allocations: 0.5625 kB / 1.262 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.9615, allocations: 306.3 kB / 1.262 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/0.9647, allocations: 0.9652 MB / 1.263 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/0.9697, allocations: 4.132 MB / 1.267 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/0.9711, allocations: 1.957 MB / 1.269 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008598/0.972, allocations: 338.8 kB / 1.269 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.9722, allocations: 103.4 kB / 1.269 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.9722, allocations: 0 / 1.269 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of Templates: time 0.04524/1.017, allocations: 29.69 MB / 1.298 GB, free: 6.395 MB / 0.9981 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 -s gbode -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/jenkins1/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