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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001606/0.001606, allocations: 110.9 kB / 16.41 MB, free: 6.008 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.001612/0.001612, allocations: 182.2 kB / 17.34 MB, free: 5.629 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.91 kB / 0.9516 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9404/0.9418, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2806/1.222, allocations: 179.3 MB / 1.264 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02977/1.252, allocations: 10.98 MB / 1.275 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005753/1.258, allocations: 99.44 kB / 1.275 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.009693/1.268, allocations: 2.009 MB / 1.277 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009326/1.277, allocations: 1.66 MB / 1.278 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004556/1.282, allocations: 0.8041 MB / 1.279 GB, free: 10.8 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007613/1.289, allocations: 3.139 MB / 1.282 GB, free: 7.648 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002555/1.292, allocations: 1.32 MB / 1.283 GB, free: 6.297 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/1.295, allocations: 1.151 MB / 1.284 GB, free: 5.141 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002893/1.298, allocations: 1.1 MB / 1.286 GB, free: 4.043 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000661/1.298, allocations: 124 kB / 1.286 GB, free: 3.922 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/1.301, allocations: 0.9316 MB / 1.287 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000901/1.302, allocations: 482 kB / 1.287 GB, free: 2.516 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002357/1.304, allocations: 1.095 MB / 1.288 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005258/1.31, allocations: 3.457 MB / 1.291 GB, free: 13.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/1.31, allocations: 4 kB / 1.291 GB, free: 13.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.234e-06/1.31, allocations: 0 / 1.291 GB, free: 13.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.5e-05/1.31, allocations: 0 / 1.291 GB, free: 13.94 MB / 1.029 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.004082/1.314, allocations: 2.805 MB / 1.294 GB, free: 11.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.314, allocations: 12.03 kB / 1.294 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/1.315, allocations: 372.5 kB / 1.295 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/1.319, allocations: 2.013 MB / 1.297 GB, free: 8.613 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/1.319, allocations: 62 kB / 1.297 GB, free: 8.555 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/1.319, allocations: 72 kB / 1.297 GB, free: 8.484 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/1.32, allocations: 0.9406 MB / 1.298 GB, free: 7.496 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/1.321, allocations: 0 / 1.298 GB, free: 7.496 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.618e-05/1.321, allocations: 32 kB / 1.298 GB, free: 7.465 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.576e-05/1.321, allocations: 32.94 kB / 1.298 GB, free: 7.434 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/1.322, allocations: 0.6986 MB / 1.298 GB, free: 6.73 MB / 1.029 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.006337/1.328, allocations: 4.448 MB / 1.303 GB, free: 2.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/1.329, allocations: 319.4 kB / 1.303 GB, free: 1.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/1.329, allocations: 176.8 kB / 1.303 GB, free: 1.574 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/1.329, allocations: 97.09 kB / 1.303 GB, free: 1.461 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/1.329, allocations: 38.55 kB / 1.303 GB, free: 1.414 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 2.205e-06/1.329, allocations: 0 / 1.303 GB, free: 1.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.003162/1.332, allocations: 1.712 MB / 1.305 GB, free: 15.62 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/1.332, allocations: 59.41 kB / 1.305 GB, free: 15.55 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003702/1.336, allocations: 2.949 MB / 1.308 GB, free: 12.58 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/1.336, allocations: 33.7 kB / 1.308 GB, free: 12.54 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009467/1.337, allocations: 1.058 MB / 1.309 GB, free: 11.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/1.337, allocations: 118.4 kB / 1.309 GB, free: 11.36 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/1.337, allocations: 114.1 kB / 1.309 GB, free: 11.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.338, allocations: 322 kB / 1.309 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/1.338, allocations: 165 kB / 1.31 GB, free: 10.76 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/1.338, allocations: 370.4 kB / 1.31 GB, free: 10.31 MB / 1.045 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.002116/1.34, allocations: 1.079 MB / 1.311 GB, free: 9.129 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/1.34, allocations: 11.94 kB / 1.311 GB, free: 9.117 MB / 1.045 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001353/1.342, allocations: 0.7881 MB / 1.312 GB, free: 8.316 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/1.342, allocations: 8 kB / 1.312 GB, free: 8.309 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.342, allocations: 8 kB / 1.312 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/1.342, allocations: 68.81 kB / 1.312 GB, free: 8.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/1.342, allocations: 99.83 kB / 1.312 GB, free: 8.133 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/1.344, allocations: 1.863 MB / 1.314 GB, free: 6.133 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000927/1.345, allocations: 29.92 kB / 1.314 GB, free: 6.105 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/1.345, allocations: 27.94 kB / 1.314 GB, free: 6.078 MB / 1.045 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.001238/1.346, allocations: 0.7912 MB / 1.315 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003907/1.347, allocations: 233 kB / 1.315 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00055/1.347, allocations: 251.7 kB / 1.315 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.347, allocations: 7.938 kB / 1.315 GB, free: 4.785 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.347, allocations: 4 kB / 1.315 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006993/1.348, allocations: 0.597 MB / 1.316 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003955/1.352, allocations: 2.05 MB / 1.318 GB, free: 1.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/1.352, allocations: 4.406 kB / 1.318 GB, free: 1.957 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/1.352, allocations: 68.03 kB / 1.318 GB, free: 1.891 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/1.353, allocations: 56.83 kB / 1.318 GB, free: 1.832 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/1.353, allocations: 12 kB / 1.318 GB, free: 1.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/1.355, allocations: 1.853 MB / 1.32 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.355, allocations: 7.938 kB / 1.32 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/1.356, allocations: 0.9143 MB / 1.321 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009922/1.357, allocations: 410 kB / 1.321 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004343/1.357, allocations: 11.98 kB / 1.321 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007918/1.358, allocations: 12 kB / 1.321 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/1.358, allocations: 35.91 kB / 1.321 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/1.358, allocations: 19.98 kB / 1.321 GB, free: 14.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00394/1.362, allocations: 2.083 MB / 1.323 GB, free: 12.26 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.41e-07/1.362, allocations: 0 / 1.323 GB, free: 12.26 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001517/1.364, allocations: 300 kB / 1.323 GB, free: 11.96 MB / 1.061 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.0005474/1.364, allocations: 185.1 kB / 1.324 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001116/1.366, allocations: 0.5307 MB / 1.324 GB, free: 11.24 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.366, allocations: 8.062 kB / 1.324 GB, free: 11.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004423/1.366, allocations: 302.3 kB / 1.324 GB, free: 10.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004482/1.371, allocations: 0.9474 MB / 1.325 GB, free: 10 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007288/1.378, allocations: 3.938 MB / 1.329 GB, free: 5.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/1.38, allocations: 1.816 MB / 1.331 GB, free: 4.133 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/1.38, allocations: 107.4 kB / 1.331 GB, free: 4.027 MB / 1.061 GB Notification: Performance of SimCode: time 7.81e-07/1.38, allocations: 0 / 1.331 GB, free: 4.027 MB / 1.061 GB Notification: Performance of Templates: time 0.06212/1.442, allocations: 43.25 MB / 1.373 GB, free: 8.988 MB / 1.107 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