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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001106/0.001106, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001174/0.001174, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.576/2.576, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003873, allocations: 12 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7266/0.727, allocations: 142.4 MB / 0.9544 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1859/0.913, allocations: 162.8 MB / 1.113 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01708/0.9301, allocations: 10.17 MB / 1.123 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002845/0.933, allocations: 71.56 kB / 1.123 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004695/0.9377, allocations: 1.578 MB / 1.125 GB, free: 476 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004274/0.942, allocations: 1.247 MB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.9442, allocations: 0.5734 MB / 1.127 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004732/0.9489, allocations: 3.147 MB / 1.13 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.9505, allocations: 0.9937 MB / 1.131 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/0.9523, allocations: 0.9406 MB / 1.132 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.954, allocations: 1.011 MB / 1.133 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002255/0.9543, allocations: 68 kB / 1.133 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.9561, allocations: 483 kB / 1.133 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005379/0.9567, allocations: 402.2 kB / 1.134 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008879/0.9576, allocations: 472.5 kB / 1.134 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003119/0.9607, allocations: 2.357 MB / 1.136 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.9607, allocations: 4 kB / 1.136 GB, free: 4.742 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9607, allocations: 4 kB / 1.136 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.54e-05/0.9608, allocations: 0 / 1.136 GB, free: 4.738 MB / 0.8887 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.00436/0.9651, allocations: 2.335 MB / 1.139 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.9652, allocations: 8.031 kB / 1.139 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.9668, allocations: 372.6 kB / 1.139 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003163/0.97, allocations: 1.777 MB / 1.141 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.557e-05/0.9701, allocations: 61.98 kB / 1.141 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.9702, allocations: 75.98 kB / 1.141 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.9718, allocations: 0.9367 MB / 1.142 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.9719, allocations: 0 / 1.142 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/0.972, allocations: 32 kB / 1.142 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/0.972, allocations: 28.98 kB / 1.142 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.9731, allocations: 0.6985 MB / 1.143 GB, free: 14.25 MB / 0.9044 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.006642/0.9798, allocations: 4.491 MB / 1.147 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.9803, allocations: 310.6 kB / 1.147 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.9806, allocations: 176.8 kB / 1.147 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.9808, allocations: 101.1 kB / 1.147 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.9808, allocations: 38.56 kB / 1.148 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 4.148e-06/0.9808, allocations: 0 / 1.148 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of matching and sorting (n=32): time 0.003243/0.9841, allocations: 1.7 MB / 1.149 GB, free: 7.113 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.9841, allocations: 59.36 kB / 1.149 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004764/0.9889, allocations: 2.949 MB / 1.152 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.9891, allocations: 37.7 kB / 1.152 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.9901, allocations: 1.058 MB / 1.153 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.9903, allocations: 118.4 kB / 1.153 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.9903, allocations: 8 kB / 1.153 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.9905, allocations: 330 kB / 1.154 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/0.9908, allocations: 157 kB / 1.154 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.9912, allocations: 376 kB / 1.154 GB, free: 1.91 MB / 0.9044 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.001599/0.9928, allocations: 0.626 MB / 1.155 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.9928, allocations: 7.938 kB / 1.155 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001488/0.9943, allocations: 0.7934 MB / 1.156 GB, free: 464 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.9943, allocations: 8 kB / 1.156 GB, free: 456 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.9944, allocations: 4 kB / 1.156 GB, free: 452 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/0.9946, allocations: 68.81 kB / 1.156 GB, free: 380 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.9949, allocations: 103.8 kB / 1.156 GB, free: 276 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.9965, allocations: 1.663 MB / 1.157 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.9976, allocations: 49.58 kB / 1.157 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.9977, allocations: 20 kB / 1.157 GB, free: 14.41 MB / 0.92 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001334/0.999, allocations: 0.8017 MB / 1.158 GB, free: 13.6 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.9994, allocations: 237 kB / 1.158 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004022/0.9998, allocations: 251.7 kB / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.9998, allocations: 4 kB / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.9998, allocations: 0 / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000747/1.001, allocations: 0.6009 MB / 1.159 GB, free: 12.44 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/1.004, allocations: 2.048 MB / 1.161 GB, free: 10.28 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/1.004, allocations: 7.938 kB / 1.161 GB, free: 10.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/1.004, allocations: 63.91 kB / 1.161 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001652/1.004, allocations: 60.89 kB / 1.161 GB, free: 10.15 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/1.004, allocations: 12 kB / 1.161 GB, free: 10.14 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/1.006, allocations: 1.678 MB / 1.163 GB, free: 8.316 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.006, allocations: 4 kB / 1.163 GB, free: 8.312 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/1.007, allocations: 0.9183 MB / 1.164 GB, free: 7.332 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007445/1.008, allocations: 414 kB / 1.164 GB, free: 6.906 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/1.008, allocations: 11.98 kB / 1.164 GB, free: 6.895 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/1.009, allocations: 35.89 kB / 1.164 GB, free: 6.859 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/1.009, allocations: 31.86 kB / 1.164 GB, free: 6.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/1.009, allocations: 16 kB / 1.164 GB, free: 6.812 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003001/1.012, allocations: 2.079 MB / 1.166 GB, free: 4.73 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.6e-07/1.012, allocations: 4 kB / 1.166 GB, free: 4.727 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00114/1.013, allocations: 304 kB / 1.167 GB, free: 4.43 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004381/1.013, allocations: 179.8 kB / 1.167 GB, free: 4.25 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009625/1.014, allocations: 0.5232 MB / 1.167 GB, free: 3.715 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.014, allocations: 4 kB / 1.167 GB, free: 3.711 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000437/1.015, allocations: 300.6 kB / 1.168 GB, free: 3.406 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/1.018, allocations: 0.8825 MB / 1.169 GB, free: 2.531 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006829/1.025, allocations: 4.655 MB / 1.173 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/1.027, allocations: 1.953 MB / 1.175 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001379/1.028, allocations: 338.5 kB / 1.175 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/1.028, allocations: 99.44 kB / 1.175 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of SimCode: time 8.22e-07/1.028, allocations: 0 / 1.175 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of Templates: time 0.05114/1.08, allocations: 27.71 MB / 1.202 GB, free: 96 kB / 0.9512 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