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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001369/0.001374, allocations: 111.8 kB / 16.27 MB, free: 6.414 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.001321/0.00132, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.41/2.41, allocations: 437 MB / 0.711 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 72.16 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.322, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.7607/1.083, allocations: 179.3 MB / 1.193 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01673/1.099, allocations: 10.97 MB / 1.204 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003644/1.103, allocations: 81.19 kB / 1.204 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.006034/1.109, allocations: 2.008 MB / 1.206 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00543/1.115, allocations: 1.612 MB / 1.207 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002514/1.117, allocations: 0.7781 MB / 1.208 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004737/1.122, allocations: 3.133 MB / 1.211 GB, free: 260 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/1.124, allocations: 1.318 MB / 1.212 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/1.126, allocations: 1.103 MB / 1.214 GB, free: 14.91 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/1.129, allocations: 1.105 MB / 1.215 GB, free: 14.24 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003871/1.129, allocations: 128.4 kB / 1.215 GB, free: 14.24 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/1.131, allocations: 0.9204 MB / 1.216 GB, free: 13.78 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00053/1.132, allocations: 482.1 kB / 1.216 GB, free: 13.43 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001432/1.133, allocations: 1.097 MB / 1.217 GB, free: 12.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004192/1.137, allocations: 3.217 MB / 1.22 GB, free: 10.3 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.138, allocations: 3.984 kB / 1.22 GB, free: 10.29 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.683e-06/1.138, allocations: 0 / 1.22 GB, free: 10.29 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.431e-05/1.138, allocations: 0 / 1.22 GB, free: 10.29 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.004396/1.142, allocations: 2.744 MB / 1.223 GB, free: 7.488 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.142, allocations: 12.92 kB / 1.223 GB, free: 7.477 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/1.144, allocations: 376.5 kB / 1.223 GB, free: 7.105 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/1.147, allocations: 1.888 MB / 1.225 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.614e-05/1.147, allocations: 58 kB / 1.225 GB, free: 5.094 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/1.147, allocations: 80 kB / 1.225 GB, free: 5.016 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/1.148, allocations: 0.9406 MB / 1.226 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/1.148, allocations: 4 kB / 1.226 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.576e-05/1.148, allocations: 28 kB / 1.226 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/1.148, allocations: 28.98 kB / 1.226 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/1.15, allocations: 0.7078 MB / 1.227 GB, free: 3.262 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.006549/1.156, allocations: 4.499 MB / 1.231 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/1.157, allocations: 310.6 kB / 1.232 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/1.157, allocations: 181.3 kB / 1.232 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/1.157, allocations: 93.61 kB / 1.232 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/1.157, allocations: 42.55 kB / 1.232 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 2.755e-06/1.157, allocations: 0 / 1.232 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32): time 0.003318/1.16, allocations: 1.706 MB / 1.234 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/1.161, allocations: 59.41 kB / 1.234 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003902/1.164, allocations: 2.973 MB / 1.237 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/1.165, allocations: 37.7 kB / 1.237 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009399/1.165, allocations: 1.054 MB / 1.238 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/1.166, allocations: 110.4 kB / 1.238 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/1.166, allocations: 110.1 kB / 1.238 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.166, allocations: 330 kB / 1.238 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/1.166, allocations: 161 kB / 1.238 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/1.167, allocations: 374.3 kB / 1.239 GB, free: 6.789 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.002105/1.169, allocations: 1.068 MB / 1.24 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/1.169, allocations: 4 kB / 1.24 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001456/1.17, allocations: 0.8047 MB / 1.241 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.17, allocations: 12 kB / 1.241 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.17, allocations: 8 kB / 1.241 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001955/1.17, allocations: 56.81 kB / 1.241 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/1.171, allocations: 99.84 kB / 1.241 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/1.172, allocations: 1.869 MB / 1.243 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/1.173, allocations: 31.91 kB / 1.243 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/1.174, allocations: 27.98 kB / 1.243 GB, free: 2.559 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.001167/1.175, allocations: 0.7962 MB / 1.243 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/1.175, allocations: 233 kB / 1.244 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/1.175, allocations: 255.7 kB / 1.244 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.175, allocations: 4 kB / 1.244 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.175, allocations: 0 / 1.244 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006756/1.176, allocations: 0.6016 MB / 1.244 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/1.179, allocations: 2.057 MB / 1.246 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.179, allocations: 4 kB / 1.246 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/1.179, allocations: 63.84 kB / 1.247 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001633/1.18, allocations: 65.22 kB / 1.247 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/1.18, allocations: 8 kB / 1.247 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/1.181, allocations: 1.857 MB / 1.248 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.181, allocations: 7.938 kB / 1.248 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/1.182, allocations: 0.9301 MB / 1.249 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007432/1.183, allocations: 414 kB / 1.25 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/1.183, allocations: 15.94 kB / 1.25 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/1.184, allocations: 20.58 kB / 1.25 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/1.184, allocations: 35.91 kB / 1.25 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/1.184, allocations: 16 kB / 1.25 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003068/1.187, allocations: 2.099 MB / 1.252 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/1.187, allocations: 0 / 1.252 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001322/1.188, allocations: 304 kB / 1.252 GB, free: 8.379 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.0005058/1.189, allocations: 168.6 kB / 1.252 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001006/1.19, allocations: 0.5464 MB / 1.253 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.19, allocations: 4.125 kB / 1.253 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003683/1.19, allocations: 298.3 kB / 1.253 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/1.194, allocations: 0.959 MB / 1.254 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/1.2, allocations: 3.989 MB / 1.258 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/1.202, allocations: 1.819 MB / 1.26 GB, free: 496 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/1.202, allocations: 103.4 kB / 1.26 GB, free: 396 kB / 0.9512 GB Notification: Performance of SimCode: time 1.413e-06/1.202, allocations: 0 / 1.26 GB, free: 396 kB / 0.9512 GB Notification: Performance of Templates: time 0.06138/1.264, allocations: 42.87 MB / 1.302 GB, free: 5.73 MB / 0.9981 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 -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