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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0009173/0.0009173, allocations: 98.03 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.005348/0.005348, allocations: 168.9 kB / 16.26 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.204/1.204, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.412/2.412, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002808, allocations: 11.25 kB / 0.9028 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.24, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1559/0.3959, allocations: 174.5 MB / 1.229 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.4091, allocations: 10.82 MB / 1.24 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.4112, allocations: 71.56 kB / 1.24 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004198/0.4154, allocations: 1.835 MB / 1.242 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003296/0.4187, allocations: 1.477 MB / 1.243 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.4203, allocations: 0.7157 MB / 1.244 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003302/0.4236, allocations: 3.709 MB / 1.247 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.4248, allocations: 1.133 MB / 1.248 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.4258, allocations: 0.9597 MB / 1.249 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.4273, allocations: 1.083 MB / 1.25 GB, free: 408 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.4274, allocations: 68 kB / 1.25 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4801/0.9076, allocations: 0.9899 MB / 1.251 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006282/0.9083, allocations: 407.2 kB / 1.252 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.9097, allocations: 1.04 MB / 1.253 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.9128, allocations: 3.04 MB / 1.256 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9128, allocations: 3.438 kB / 1.256 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9128, allocations: 0 / 1.256 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.117e-05/0.9128, allocations: 1.969 kB / 1.256 GB, free: 7.086 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.002889/0.9157, allocations: 2.313 MB / 1.258 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.9158, allocations: 7.531 kB / 1.258 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.917, allocations: 377.1 kB / 1.258 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/0.9193, allocations: 1.878 MB / 1.26 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.9193, allocations: 61.97 kB / 1.26 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.9194, allocations: 77.88 kB / 1.26 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.9207, allocations: 0.939 MB / 1.261 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.9208, allocations: 5.906 kB / 1.261 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/0.9208, allocations: 33.62 kB / 1.261 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.9209, allocations: 28.45 kB / 1.261 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009252/0.9218, allocations: 0.701 MB / 1.262 GB, free: 4.918 MB / 0.9981 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.004805/0.9266, allocations: 4.503 MB / 1.266 GB, free: 18.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.927, allocations: 307.2 kB / 1.267 GB, free: 18.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.9272, allocations: 182.5 kB / 1.267 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.9274, allocations: 98.45 kB / 1.267 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.9274, allocations: 37.61 kB / 1.267 GB, free: 18.76 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/0.9274, allocations: 0 / 1.267 GB, free: 18.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.002713/0.9301, allocations: 1.701 MB / 1.269 GB, free: 17.97 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.9302, allocations: 55 kB / 1.269 GB, free: 17.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004024/0.9342, allocations: 2.978 MB / 1.272 GB, free: 17.67 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.9343, allocations: 40.52 kB / 1.272 GB, free: 17.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007975/0.9351, allocations: 1.05 MB / 1.273 GB, free: 17.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.628e-05/0.9352, allocations: 120 kB / 1.273 GB, free: 17.36 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.9352, allocations: 45.78 kB / 1.273 GB, free: 17.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.9353, allocations: 325.7 kB / 1.273 GB, free: 17.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.9356, allocations: 164.7 kB / 1.273 GB, free: 17.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.9359, allocations: 368.7 kB / 1.274 GB, free: 16.8 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.002139/0.9381, allocations: 1.082 MB / 1.275 GB, free: 16.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.9381, allocations: 1.625 kB / 1.275 GB, free: 16.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001381/0.9395, allocations: 0.7988 MB / 1.276 GB, free: 16.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.9395, allocations: 7.938 kB / 1.276 GB, free: 16.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.9395, allocations: 9.375 kB / 1.276 GB, free: 16.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.9397, allocations: 63.16 kB / 1.276 GB, free: 16.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.9401, allocations: 96.69 kB / 1.276 GB, free: 16.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.9415, allocations: 1.685 MB / 1.277 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009449/0.9424, allocations: 49.06 kB / 1.277 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.9425, allocations: 24.19 kB / 1.277 GB, free: 14.93 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.001019/0.9435, allocations: 0.7892 MB / 1.278 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.9437, allocations: 234.4 kB / 1.278 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/0.9441, allocations: 253.7 kB / 1.279 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.9441, allocations: 8.922 kB / 1.279 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.9441, allocations: 1.891 kB / 1.279 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006038/0.9447, allocations: 0.5945 MB / 1.279 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.9477, allocations: 2.054 MB / 1.281 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.9477, allocations: 6.766 kB / 1.281 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.948, allocations: 65.42 kB / 1.281 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001586/0.9482, allocations: 59.55 kB / 1.281 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.9482, allocations: 14.95 kB / 1.281 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.9495, allocations: 1.681 MB / 1.283 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.9495, allocations: 4.062 kB / 1.283 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.9508, allocations: 0.9292 MB / 1.284 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008094/0.9516, allocations: 410.1 kB / 1.284 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.9518, allocations: 18.7 kB / 1.284 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005945/0.9524, allocations: 34.94 kB / 1.284 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.9524, allocations: 31.7 kB / 1.284 GB, free: 11.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.9525, allocations: 15.97 kB / 1.284 GB, free: 11.85 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002579/0.9551, allocations: 2.1 MB / 1.287 GB, free: 11.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9551, allocations: 0 / 1.287 GB, free: 11.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001023/0.9561, allocations: 312.2 kB / 1.287 GB, free: 11.7 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.0003395/0.9564, allocations: 176.7 kB / 1.287 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007383/0.9572, allocations: 0.5162 MB / 1.287 GB, free: 11.49 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9572, allocations: 1.188 kB / 1.287 GB, free: 11.49 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.9575, allocations: 305.7 kB / 1.288 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004278/0.9618, allocations: 0.8932 MB / 1.289 GB, free: 11.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005114/0.9669, allocations: 4.848 MB / 1.293 GB, free: 9.195 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/0.9684, allocations: 1.947 MB / 1.295 GB, free: 8.434 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009716/0.9694, allocations: 344.5 kB / 1.296 GB, free: 8.367 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.9696, allocations: 105.6 kB / 1.296 GB, free: 8.363 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.9696, allocations: 2.812 kB / 1.296 GB, free: 8.363 MB / 1.014 GB Notification: Performance of Templates: time 0.04071/1.01, allocations: 28.47 MB / 1.324 GB, free: 2.18 MB / 1.014 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 -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/jenkins/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