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.001065/0.001065, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001021/0.001021, allocations: 192.3 kB / 16.25 MB, free: 6.637 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.186/1.186, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.051/2.051, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 71.88 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.5208, allocations: 140.4 MB / 0.9491 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1589/0.6798, allocations: 176.8 MB / 1.122 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01392/0.6937, allocations: 10.85 MB / 1.132 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.696, allocations: 75.56 kB / 1.132 GB, free: 5.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00456/0.7006, allocations: 1.862 MB / 1.134 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003882/0.7045, allocations: 1.493 MB / 1.136 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.7064, allocations: 0.7307 MB / 1.136 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00367/0.7101, allocations: 3.153 MB / 1.14 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.7117, allocations: 1.297 MB / 1.141 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001562/0.7133, allocations: 1.116 MB / 1.142 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.7151, allocations: 1.148 MB / 1.143 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.7153, allocations: 128 kB / 1.143 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.7167, allocations: 0.9587 MB / 1.144 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003874/0.7171, allocations: 486 kB / 1.145 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008954/0.718, allocations: 1.091 MB / 1.146 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002945/0.721, allocations: 3.27 MB / 1.149 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.721, allocations: 0 / 1.149 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.303e-06/0.721, allocations: 0 / 1.149 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.368e-05/0.721, allocations: 0 / 1.149 GB, free: 5.023 MB / 0.9044 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.003237/0.7243, allocations: 2.751 MB / 1.151 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.7243, allocations: 8.031 kB / 1.151 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.7256, allocations: 380.5 kB / 1.152 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.7279, allocations: 1.888 MB / 1.154 GB, free: 15.87 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.794e-05/0.728, allocations: 58 kB / 1.154 GB, free: 15.82 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.73e-05/0.7281, allocations: 80 kB / 1.154 GB, free: 15.74 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.7293, allocations: 0.9484 MB / 1.155 GB, free: 14.74 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.7294, allocations: 0 / 1.155 GB, free: 14.74 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/0.7294, allocations: 32 kB / 1.155 GB, free: 14.71 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/0.7295, allocations: 28.94 kB / 1.155 GB, free: 14.68 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009741/0.7305, allocations: 0.7141 MB / 1.155 GB, free: 13.97 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.004784/0.7353, allocations: 4.479 MB / 1.16 GB, free: 9.277 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.7357, allocations: 316 kB / 1.16 GB, free: 8.961 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.7359, allocations: 180.8 kB / 1.16 GB, free: 8.781 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.7361, allocations: 101.1 kB / 1.16 GB, free: 8.664 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.7361, allocations: 34.56 kB / 1.16 GB, free: 8.621 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.433e-06/0.7361, allocations: 0 / 1.16 GB, free: 8.621 MB / 0.92 GB Notification: Performance of matching and sorting (n=32): time 0.002608/0.7388, allocations: 1.708 MB / 1.162 GB, free: 6.832 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.7388, allocations: 55.41 kB / 1.162 GB, free: 6.766 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003249/0.7421, allocations: 2.973 MB / 1.165 GB, free: 3.777 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.7421, allocations: 41.7 kB / 1.165 GB, free: 3.73 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008161/0.7429, allocations: 1.05 MB / 1.166 GB, free: 2.676 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/0.743, allocations: 122.3 kB / 1.166 GB, free: 2.555 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.7432, allocations: 110.1 kB / 1.166 GB, free: 2.441 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.7433, allocations: 326 kB / 1.167 GB, free: 2.117 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.7435, allocations: 161 kB / 1.167 GB, free: 1.957 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.7439, allocations: 372.1 kB / 1.167 GB, free: 1.508 MB / 0.92 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.001922/0.7458, allocations: 1.075 MB / 1.168 GB, free: 336 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7458, allocations: 7.938 kB / 1.168 GB, free: 328 kB / 0.92 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001052/0.7469, allocations: 0.7973 MB / 1.169 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.7469, allocations: 4 kB / 1.169 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.7469, allocations: 8 kB / 1.169 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001683/0.7471, allocations: 56.83 kB / 1.169 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.7474, allocations: 99.83 kB / 1.169 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.7489, allocations: 1.865 MB / 1.171 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007784/0.7497, allocations: 43.89 kB / 1.171 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.7497, allocations: 27.94 kB / 1.171 GB, free: 13.27 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.0008444/0.7506, allocations: 0.794 MB / 1.172 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.7508, allocations: 233 kB / 1.172 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.7511, allocations: 259.7 kB / 1.172 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7511, allocations: 0 / 1.172 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.7511, allocations: 7.984 kB / 1.172 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000602/0.7517, allocations: 0.597 MB / 1.173 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.7541, allocations: 2.065 MB / 1.175 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.7542, allocations: 4 kB / 1.175 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.7544, allocations: 63.91 kB / 1.175 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000129/0.7546, allocations: 56.91 kB / 1.175 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.7546, allocations: 12 kB / 1.175 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.7559, allocations: 1.869 MB / 1.177 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7559, allocations: 3.938 kB / 1.177 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009771/0.7569, allocations: 0.9299 MB / 1.178 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/0.7574, allocations: 414 kB / 1.178 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.7576, allocations: 8 kB / 1.178 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/0.7582, allocations: 27.89 kB / 1.178 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.7582, allocations: 31.97 kB / 1.178 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.7583, allocations: 19.98 kB / 1.178 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002366/0.7606, allocations: 2.103 MB / 1.18 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7606, allocations: 0 / 1.18 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008339/0.7615, allocations: 296 kB / 1.181 GB, free: 3.082 MB / 0.9356 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.0003491/0.7618, allocations: 169.5 kB / 1.181 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007912/0.7626, allocations: 0.5502 MB / 1.181 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7627, allocations: 0 / 1.181 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.763, allocations: 294.8 kB / 1.182 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003074/0.7661, allocations: 0.9611 MB / 1.183 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/0.7712, allocations: 4.773 MB / 1.187 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/0.7727, allocations: 1.954 MB / 1.189 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001019/0.7737, allocations: 396.7 kB / 1.189 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.7739, allocations: 115.4 kB / 1.19 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.7739, allocations: 0 / 1.19 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of Templates: time 0.046/0.8199, allocations: 30.28 MB / 1.219 GB, free: 11.95 MB / 0.9825 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/jenkins/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