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.009677/0.009677, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.002348/0.002348, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.508/1.508, allocations: 222.9 MB / 240.5 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.834/2.834, allocations: 461.8 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 66.64 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3569, allocations: 157.4 MB / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.2124/0.5693, allocations: 176.9 MB / 1.225 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01835/0.5877, allocations: 10.95 MB / 1.236 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004008/0.5918, allocations: 75.56 kB / 1.236 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00717/0.5989, allocations: 1.835 MB / 1.238 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006144/0.6052, allocations: 1.489 MB / 1.239 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.6083, allocations: 0.7048 MB / 1.24 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006306/0.6146, allocations: 3.712 MB / 1.244 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002564/0.6172, allocations: 1.168 MB / 1.245 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.6198, allocations: 0.9909 MB / 1.246 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.6228, allocations: 1.117 MB / 1.247 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006334/0.6235, allocations: 84 kB / 1.247 GB, free: 500 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7234/1.347, allocations: 0.9991 MB / 1.248 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008616/1.348, allocations: 437.1 kB / 1.248 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001881/1.35, allocations: 1.045 MB / 1.249 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002959/1.353, allocations: 2.461 MB / 1.252 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.353, allocations: 2.953 kB / 1.252 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.82e-07/1.353, allocations: 0 / 1.252 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.199e-05/1.353, allocations: 1.75 kB / 1.252 GB, free: 6.688 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.004327/1.357, allocations: 2.704 MB / 1.255 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.357, allocations: 17.19 kB / 1.255 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/1.359, allocations: 368.7 kB / 1.255 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/1.361, allocations: 1.887 MB / 1.257 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/1.362, allocations: 57.38 kB / 1.257 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.932e-05/1.362, allocations: 75.31 kB / 1.257 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/1.363, allocations: 0.9391 MB / 1.258 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/1.363, allocations: 5.938 kB / 1.258 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.135e-05/1.363, allocations: 36.73 kB / 1.258 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/1.363, allocations: 26.56 kB / 1.258 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/1.364, allocations: 0.6953 MB / 1.259 GB, free: 4.406 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.005944/1.37, allocations: 4.493 MB / 1.263 GB, free: 18.42 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/1.371, allocations: 315.4 kB / 1.263 GB, free: 18.39 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/1.371, allocations: 180.8 kB / 1.263 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/1.371, allocations: 92.14 kB / 1.263 GB, free: 18.29 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/1.371, allocations: 37.92 kB / 1.264 GB, free: 18.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.575e-06/1.371, allocations: 1.203 kB / 1.264 GB, free: 18.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=32): time 0.00322/1.375, allocations: 1.705 MB / 1.265 GB, free: 17.46 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/1.375, allocations: 55.12 kB / 1.265 GB, free: 17.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004984/1.38, allocations: 2.974 MB / 1.268 GB, free: 17.17 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/1.38, allocations: 34.95 kB / 1.268 GB, free: 17.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009499/1.381, allocations: 1.053 MB / 1.269 GB, free: 16.93 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/1.381, allocations: 119.2 kB / 1.269 GB, free: 16.85 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/1.381, allocations: 108.5 kB / 1.269 GB, free: 16.83 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.381, allocations: 326.4 kB / 1.27 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/1.381, allocations: 168 kB / 1.27 GB, free: 16.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/1.382, allocations: 370.4 kB / 1.27 GB, free: 16.28 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.002433/1.384, allocations: 1.078 MB / 1.271 GB, free: 15.94 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/1.384, allocations: 2.125 kB / 1.271 GB, free: 15.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001774/1.386, allocations: 0.7935 MB / 1.272 GB, free: 15.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/1.386, allocations: 7.625 kB / 1.272 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/1.386, allocations: 8.656 kB / 1.272 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002419/1.386, allocations: 62.19 kB / 1.272 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/1.387, allocations: 98.84 kB / 1.272 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/1.389, allocations: 1.679 MB / 1.274 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/1.39, allocations: 45.81 kB / 1.274 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/1.39, allocations: 27.16 kB / 1.274 GB, free: 14.42 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 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.001487/1.391, allocations: 0.7908 MB / 1.275 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/1.392, allocations: 242.1 kB / 1.275 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/1.392, allocations: 252.2 kB / 1.275 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.392, allocations: 4.422 kB / 1.275 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.392, allocations: 4.219 kB / 1.275 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007378/1.393, allocations: 0.5982 MB / 1.276 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/1.396, allocations: 2.058 MB / 1.278 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.396, allocations: 3.797 kB / 1.278 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/1.397, allocations: 64.55 kB / 1.278 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001578/1.397, allocations: 58.56 kB / 1.278 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/1.397, allocations: 14.69 kB / 1.278 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/1.399, allocations: 1.677 MB / 1.28 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.399, allocations: 3.078 kB / 1.28 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/1.4, allocations: 0.9221 MB / 1.28 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008431/1.401, allocations: 413.3 kB / 1.281 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/1.401, allocations: 17 kB / 1.281 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006554/1.402, allocations: 32.48 kB / 1.281 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/1.402, allocations: 31.89 kB / 1.281 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/1.402, allocations: 17.58 kB / 1.281 GB, free: 11.35 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003339/1.405, allocations: 2.103 MB / 1.283 GB, free: 11.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/1.405, allocations: 0 / 1.283 GB, free: 11.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001338/1.406, allocations: 305.1 kB / 1.283 GB, free: 11.2 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.0005059/1.407, allocations: 174.2 kB / 1.283 GB, free: 11.11 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009552/1.408, allocations: 0.5233 MB / 1.284 GB, free: 10.98 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.408, allocations: 4.969 kB / 1.284 GB, free: 10.98 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004239/1.408, allocations: 302.1 kB / 1.284 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003693/1.412, allocations: 0.8903 MB / 1.285 GB, free: 10.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006854/1.419, allocations: 4.566 MB / 1.29 GB, free: 8.691 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/1.421, allocations: 1.813 MB / 1.291 GB, free: 7.945 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/1.421, allocations: 106.9 kB / 1.291 GB, free: 7.938 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.421, allocations: 4 kB / 1.291 GB, free: 7.934 MB / 1.014 GB Notification: Performance of Templates: time 0.06135/1.482, allocations: 42.8 MB / 1.333 GB, free: 10.82 MB / 1.029 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/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