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.001141/0.001141, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001188/0.001188, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.169/1.169, allocations: 222.9 MB / 239.8 MB, free: 4.523 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.035/2.035, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 67.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.4999, allocations: 140.4 MB / 0.9489 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1576/0.6575, allocations: 176.9 MB / 1.122 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.6709, allocations: 10.94 MB / 1.132 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/0.673, allocations: 75.56 kB / 1.132 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004417/0.6774, allocations: 1.847 MB / 1.134 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003306/0.6807, allocations: 1.48 MB / 1.136 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.6823, allocations: 0.704 MB / 1.136 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003355/0.6856, allocations: 3.718 MB / 1.14 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.6868, allocations: 1.156 MB / 1.141 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.688, allocations: 0.991 MB / 1.142 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.6896, allocations: 1.117 MB / 1.143 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.6898, allocations: 84 kB / 1.143 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.6914, allocations: 1.005 MB / 1.144 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003824/0.6918, allocations: 438 kB / 1.145 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008773/0.6927, allocations: 1.041 MB / 1.146 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.6952, allocations: 3.099 MB / 1.149 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6952, allocations: 4 kB / 1.149 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.61e-07/0.6952, allocations: 0 / 1.149 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.153e-05/0.6952, allocations: 0 / 1.149 GB, free: 4.789 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.003257/0.6985, allocations: 2.708 MB / 1.151 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.6985, allocations: 12.03 kB / 1.151 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.6998, allocations: 372.5 kB / 1.152 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.7021, allocations: 1.876 MB / 1.154 GB, free: 15.69 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.7022, allocations: 58 kB / 1.154 GB, free: 15.63 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.7023, allocations: 76 kB / 1.154 GB, free: 15.56 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.7035, allocations: 0.9444 MB / 1.155 GB, free: 14.57 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.7036, allocations: 4 kB / 1.155 GB, free: 14.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.509e-05/0.7036, allocations: 36 kB / 1.155 GB, free: 14.54 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.7037, allocations: 28.94 kB / 1.155 GB, free: 14.51 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009824/0.7046, allocations: 0.6986 MB / 1.155 GB, free: 13.81 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.004716/0.7094, allocations: 4.491 MB / 1.16 GB, free: 9.105 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.7098, allocations: 314.6 kB / 1.16 GB, free: 8.789 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.7101, allocations: 180.7 kB / 1.16 GB, free: 8.609 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.7102, allocations: 97.09 kB / 1.16 GB, free: 8.496 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.7102, allocations: 38.56 kB / 1.16 GB, free: 8.449 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.7102, allocations: 0 / 1.16 GB, free: 8.449 MB / 0.92 GB Notification: Performance of matching and sorting (n=32): time 0.002521/0.7128, allocations: 1.7 MB / 1.162 GB, free: 6.668 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.7128, allocations: 51.41 kB / 1.162 GB, free: 6.605 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003146/0.716, allocations: 2.977 MB / 1.165 GB, free: 3.613 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.716, allocations: 29.7 kB / 1.165 GB, free: 3.578 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008125/0.7168, allocations: 1.058 MB / 1.166 GB, free: 2.512 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.554e-05/0.7169, allocations: 118.3 kB / 1.166 GB, free: 2.395 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.7171, allocations: 106.1 kB / 1.166 GB, free: 2.285 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.7172, allocations: 326 kB / 1.167 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.7174, allocations: 169 kB / 1.167 GB, free: 1.793 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.7178, allocations: 376.1 kB / 1.167 GB, free: 1.34 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.001902/0.7197, allocations: 1.079 MB / 1.168 GB, free: 160 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7197, allocations: 3.938 kB / 1.168 GB, free: 156 kB / 0.92 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009827/0.7207, allocations: 0.7884 MB / 1.169 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.7207, allocations: 12.16 kB / 1.169 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.7207, allocations: 7.984 kB / 1.169 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.7209, allocations: 60.83 kB / 1.169 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.7212, allocations: 103.8 kB / 1.169 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.7225, allocations: 1.678 MB / 1.171 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006843/0.7232, allocations: 47.88 kB / 1.171 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.7232, allocations: 24 kB / 1.171 GB, free: 13.29 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.0008054/0.724, allocations: 0.8002 MB / 1.172 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.7243, allocations: 233 kB / 1.172 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.7246, allocations: 255.8 kB / 1.172 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.7246, allocations: 4 kB / 1.172 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7246, allocations: 4.125 kB / 1.172 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005896/0.7252, allocations: 0.6128 MB / 1.173 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.7276, allocations: 2.051 MB / 1.175 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.7276, allocations: 0 / 1.175 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.7279, allocations: 68.25 kB / 1.175 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001285/0.7281, allocations: 56.83 kB / 1.175 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.7281, allocations: 15.98 kB / 1.175 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.7293, allocations: 1.67 MB / 1.176 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.7293, allocations: 7.938 kB / 1.176 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009775/0.7303, allocations: 0.923 MB / 1.177 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000489/0.7308, allocations: 418 kB / 1.178 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.731, allocations: 8 kB / 1.178 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/0.7315, allocations: 28.11 kB / 1.178 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.7316, allocations: 35.91 kB / 1.178 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.7316, allocations: 16 kB / 1.178 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002354/0.734, allocations: 2.103 MB / 1.18 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.734, allocations: 0 / 1.18 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008343/0.7348, allocations: 308 kB / 1.18 GB, free: 3.285 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.000332/0.7352, allocations: 175.9 kB / 1.18 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007214/0.7359, allocations: 0.5271 MB / 1.181 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7359, allocations: 4.062 kB / 1.181 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.7363, allocations: 296.8 kB / 1.181 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/0.7393, allocations: 0.8808 MB / 1.182 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/0.7442, allocations: 4.769 MB / 1.187 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.7456, allocations: 1.949 MB / 1.189 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00085/0.7465, allocations: 342.5 kB / 1.189 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.7466, allocations: 99.44 kB / 1.189 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.7467, allocations: 0 / 1.189 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of Templates: time 0.04128/0.7879, allocations: 28.67 MB / 1.217 GB, free: 13.87 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