Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, 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.00154/0.00154, allocations: 193.5 kB / 16.14 MB, free: 6.652 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.531 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.409/2.409, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6811/0.6823, allocations: 140.3 MB / 0.9489 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2311/0.9134, allocations: 216.2 MB / 1.16 GB, free: 9.176 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02959/0.9431, allocations: 20.72 MB / 1.18 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003932/0.9471, allocations: 51.69 kB / 1.18 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003769/0.9509, allocations: 1.096 MB / 1.181 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.9621, allocations: 3.844 MB / 1.185 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004225/0.9663, allocations: 1.378 MB / 1.186 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01085/0.9772, allocations: 9.523 MB / 1.196 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003764/0.981, allocations: 2.007 MB / 1.198 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005259/0.9863, allocations: 2.024 MB / 1.2 GB, free: 384 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007617/0.9939, allocations: 2.541 MB / 1.202 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001679/0.9956, allocations: 184 kB / 1.202 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/1.006, allocations: 3.947 MB / 1.206 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002799/1.009, allocations: 1.297 MB / 1.207 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.005322/1.014, allocations: 1.699 MB / 1.209 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01178/1.026, allocations: 5.827 MB / 1.215 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.026, allocations: 0 / 1.215 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.784e-06/1.026, allocations: 0 / 1.215 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.00015/1.026, allocations: 4 kB / 1.215 GB, free: 0.8398 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01165/1.038, allocations: 3.949 MB / 1.219 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/1.038, allocations: 8.031 kB / 1.219 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00536/1.043, allocations: 0.8276 MB / 1.22 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004307/1.047, allocations: 1.883 MB / 1.221 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/1.048, allocations: 201.4 kB / 1.222 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004419/1.048, allocations: 268 kB / 1.222 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005722/1.054, allocations: 3.286 MB / 1.225 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.745e-05/1.054, allocations: 3.984 kB / 1.225 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002619/1.054, allocations: 108 kB / 1.225 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001228/1.054, allocations: 125.4 kB / 1.225 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007936/1.062, allocations: 4.627 MB / 1.23 GB, free: 1.383 MB / 0.9825 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.0182/1.08, allocations: 10.86 MB / 1.24 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006415/1.087, allocations: 4.865 MB / 1.245 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5536/1.641, allocations: 2.52 MB / 1.248 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/1.642, allocations: 0.8606 MB / 1.248 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/1.642, allocations: 85.69 kB / 1.249 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 5.62e-06/1.642, allocations: 0 / 1.249 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.01129/1.653, allocations: 6.014 MB / 1.254 GB, free: 279.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/1.653, allocations: 92.52 kB / 1.254 GB, free: 279.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/1.655, allocations: 1.234 MB / 1.256 GB, free: 279 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000291/1.656, allocations: 96.45 kB / 1.256 GB, free: 278.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/1.656, allocations: 0.8151 MB / 1.257 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.657, allocations: 1.328 MB / 1.258 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000877/1.658, allocations: 0.5509 MB / 1.258 GB, free: 277.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.257e-05/1.658, allocations: 304.6 kB / 1.259 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/1.66, allocations: 1.599 MB / 1.26 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002558/1.663, allocations: 1.909 MB / 1.262 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00526/1.668, allocations: 3.837 MB / 1.266 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/1.668, allocations: 1.562 kB / 1.266 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006299/1.675, allocations: 4.195 MB / 1.27 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/1.675, allocations: 6.5 kB / 1.27 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/1.675, allocations: 4.078 kB / 1.27 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.385e-05/1.675, allocations: 20.03 kB / 1.27 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002722/1.677, allocations: 0.6791 MB / 1.271 GB, free: 271.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.581e-05/1.678, allocations: 24.55 kB / 1.271 GB, free: 271.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/1.68, allocations: 399.9 kB / 1.271 GB, free: 271.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/1.68, allocations: 115.9 kB / 1.271 GB, free: 271.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001278/1.682, allocations: 0.7213 MB / 1.272 GB, free: 270.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004825/1.682, allocations: 240.9 kB / 1.272 GB, free: 270.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006671/1.689, allocations: 4.648 MB / 1.277 GB, free: 268.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/1.689, allocations: 40.38 kB / 1.277 GB, free: 268.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.358e-05/1.689, allocations: 0 / 1.277 GB, free: 268.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004615/1.694, allocations: 3.958 MB / 1.281 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/1.704, allocations: 8.272 MB / 1.289 GB, free: 261.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/1.704, allocations: 0 / 1.289 GB, free: 261.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002593/1.707, allocations: 0.6689 MB / 1.289 GB, free: 260.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003942/1.707, allocations: 139.5 kB / 1.289 GB, free: 260.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/1.707, allocations: 83.97 kB / 1.289 GB, free: 260.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/1.71, allocations: 4.509 MB / 1.294 GB, free: 255.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.71, allocations: 3.125 kB / 1.294 GB, free: 255.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007919/1.718, allocations: 6.82 MB / 1.301 GB, free: 248.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/1.719, allocations: 0.7666 MB / 1.301 GB, free: 247.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003384/1.719, allocations: 68 kB / 1.301 GB, free: 247.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/1.721, allocations: 219.7 kB / 1.302 GB, free: 247.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/1.722, allocations: 222.8 kB / 1.302 GB, free: 247.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.722, allocations: 116 kB / 1.302 GB, free: 247.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009177/1.723, allocations: 0.8606 MB / 1.303 GB, free: 246.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.723, allocations: 0 / 1.303 GB, free: 246.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002237/1.725, allocations: 1.087 MB / 1.304 GB, free: 245.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005314/1.726, allocations: 337.3 kB / 1.304 GB, free: 244.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004655/1.73, allocations: 4.047 MB / 1.308 GB, free: 240.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.73, allocations: 0 / 1.308 GB, free: 240.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002644/1.733, allocations: 2.55 MB / 1.311 GB, free: 238.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004095/1.737, allocations: 1.031 MB / 1.312 GB, free: 237.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008259/1.745, allocations: 7.844 MB / 1.319 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/1.746, allocations: 1.939 MB / 1.321 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003577/1.75, allocations: 1.22 MB / 1.322 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008915/1.751, allocations: 243.3 kB / 1.323 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.313e-06/1.751, allocations: 3.938 kB / 1.323 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.06128/1.812, allocations: 45.61 MB / 1.367 GB, free: 181.1 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches