Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0011/0.0011, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.001097/0.001097, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 66.19 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2536, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.6134/0.867, allocations: 179.3 MB / 1.194 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01562/0.8827, allocations: 10.96 MB / 1.205 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002664/0.8854, allocations: 89.25 kB / 1.205 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005272/0.8907, allocations: 2.002 MB / 1.207 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.8949, allocations: 1.619 MB / 1.208 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.897, allocations: 0.7918 MB / 1.209 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003712/0.9007, allocations: 3.144 MB / 1.212 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.9022, allocations: 1.314 MB / 1.213 GB, free: 15.11 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.9037, allocations: 1.103 MB / 1.214 GB, free: 14.48 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.9054, allocations: 1.101 MB / 1.215 GB, free: 13.81 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001903/0.9056, allocations: 129.8 kB / 1.216 GB, free: 13.8 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.9072, allocations: 0.9219 MB / 1.216 GB, free: 13.34 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004257/0.9077, allocations: 478.5 kB / 1.217 GB, free: 13 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009576/0.9087, allocations: 1.093 MB / 1.218 GB, free: 12.25 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00311/0.9118, allocations: 3.242 MB / 1.221 GB, free: 9.672 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.9118, allocations: 4 kB / 1.221 GB, free: 9.668 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9118, allocations: 0 / 1.221 GB, free: 9.668 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.352e-05/0.9118, allocations: 4 kB / 1.221 GB, free: 9.664 MB / 0.92 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.003665/0.9155, allocations: 2.744 MB / 1.224 GB, free: 6.859 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.9155, allocations: 8.922 kB / 1.224 GB, free: 6.852 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.9169, allocations: 364.5 kB / 1.224 GB, free: 6.492 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.92, allocations: 2.009 MB / 1.226 GB, free: 4.414 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.92, allocations: 58 kB / 1.226 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.9202, allocations: 76 kB / 1.226 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.9215, allocations: 0.9406 MB / 1.227 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.9215, allocations: 7.938 kB / 1.227 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.665e-05/0.9216, allocations: 36 kB / 1.227 GB, free: 3.254 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.9216, allocations: 25 kB / 1.227 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.9227, allocations: 0.6985 MB / 1.228 GB, free: 2.527 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.005368/0.9281, allocations: 4.448 MB / 1.232 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.9286, allocations: 313.1 kB / 1.233 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.9288, allocations: 177.3 kB / 1.233 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.929, allocations: 105.6 kB / 1.233 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.929, allocations: 30.56 kB / 1.233 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.734e-06/0.929, allocations: 0 / 1.233 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32): time 0.002672/0.9317, allocations: 1.714 MB / 1.235 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.9317, allocations: 55.41 kB / 1.235 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003452/0.9352, allocations: 2.945 MB / 1.238 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.9352, allocations: 37.64 kB / 1.238 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000882/0.9361, allocations: 1.058 MB / 1.239 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.9363, allocations: 122.4 kB / 1.239 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.9364, allocations: 106.1 kB / 1.239 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.9365, allocations: 326 kB / 1.239 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.9368, allocations: 161 kB / 1.239 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.9371, allocations: 370.3 kB / 1.24 GB, free: 6.129 MB / 0.9356 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.002025/0.9392, allocations: 1.081 MB / 1.241 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.9392, allocations: 7.984 kB / 1.241 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001137/0.9403, allocations: 0.8046 MB / 1.241 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.9404, allocations: 4 kB / 1.241 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/0.9404, allocations: 12.06 kB / 1.241 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001999/0.9406, allocations: 64.81 kB / 1.242 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.9409, allocations: 99.78 kB / 1.242 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.9424, allocations: 1.869 MB / 1.243 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007668/0.9432, allocations: 31.83 kB / 1.244 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.9432, allocations: 24 kB / 1.244 GB, free: 1.883 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.001005/0.9442, allocations: 0.8002 MB / 1.244 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.9445, allocations: 233 kB / 1.245 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.9448, allocations: 251.7 kB / 1.245 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.9448, allocations: 4 kB / 1.245 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.9448, allocations: 0 / 1.245 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006523/0.9455, allocations: 0.5977 MB / 1.245 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.9483, allocations: 2.049 MB / 1.247 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.9483, allocations: 4 kB / 1.247 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.9487, allocations: 67.91 kB / 1.247 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001374/0.9488, allocations: 52.81 kB / 1.247 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.9489, allocations: 16.41 kB / 1.247 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.9503, allocations: 1.853 MB / 1.249 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.9504, allocations: 7.969 kB / 1.249 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.9515, allocations: 0.9301 MB / 1.25 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007274/0.9522, allocations: 410 kB / 1.251 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.9524, allocations: 12 kB / 1.251 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/0.953, allocations: 11.98 kB / 1.251 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.953, allocations: 35.84 kB / 1.251 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.9531, allocations: 12 kB / 1.251 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002595/0.9557, allocations: 2.087 MB / 1.253 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9557, allocations: 0 / 1.253 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009426/0.9566, allocations: 304 kB / 1.253 GB, free: 7.75 MB / 0.9512 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.0004031/0.957, allocations: 179.3 kB / 1.253 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008511/0.9579, allocations: 0.5295 MB / 1.254 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9579, allocations: 0 / 1.254 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.9583, allocations: 314.4 kB / 1.254 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/0.9614, allocations: 0.9547 MB / 1.255 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/0.9668, allocations: 4.125 MB / 1.259 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/0.9682, allocations: 1.949 MB / 1.261 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000894/0.9691, allocations: 350.8 kB / 1.261 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.9693, allocations: 103.4 kB / 1.261 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.9694, allocations: 0 / 1.261 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of Templates: time 0.04564/1.015, allocations: 29.69 MB / 1.29 GB, free: 1.914 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_MixedAirHeatMassBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches