Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009524/0.0009524, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009546/0.0009546, allocations: 159.4 kB / 24.86 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9139/0.9139, allocations: 177.2 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.77/1.77, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.965e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1288/0.1288, allocations: 153.7 MB / 0.9629 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0125/0.1413, allocations: 10.85 MB / 0.9735 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.1426, allocations: 75.44 kB / 0.9736 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0009211/0.1435, allocations: 0.4887 MB / 0.974 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.1467, allocations: 2.187 MB / 0.9762 GB, free: 9.578 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.1485, allocations: 1.216 MB / 0.9774 GB, free: 8.359 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005155/0.1537, allocations: 7.02 MB / 0.9842 GB, free: 1.312 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.1558, allocations: 1.897 MB / 0.9861 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003988/0.1598, allocations: 3.538 MB / 0.9895 GB, free: 11.88 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.1618, allocations: 2.322 MB / 0.9918 GB, free: 9.551 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003052/0.1621, allocations: 340 kB / 0.9921 GB, free: 9.219 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009891/0.1631, allocations: 0.7098 MB / 0.9928 GB, free: 8.508 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0007984/0.1639, allocations: 1.489 MB / 0.9943 GB, free: 7.016 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009795/0.1649, allocations: 1.345 MB / 0.9956 GB, free: 5.668 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002307/0.1672, allocations: 3.345 MB / 0.9988 GB, free: 2.312 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1672, allocations: 0 / 0.9988 GB, free: 2.312 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1672, allocations: 0 / 0.9988 GB, free: 2.312 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.442e-05/0.1672, allocations: 3.938 kB / 0.9989 GB, free: 2.309 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 760 * Number of variables: 760 Notification: Performance of Generate backend data structure: time 0.004338/0.1715, allocations: 3.776 MB / 1.003 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.1716, allocations: 8.031 kB / 1.003 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.1737, allocations: 1.016 MB / 1.004 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.1752, allocations: 1.475 MB / 1.005 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.406e-05/0.1753, allocations: 201.4 kB / 1.005 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/0.1756, allocations: 283.9 kB / 1.005 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.1775, allocations: 2.082 MB / 1.007 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.346e-05/0.1776, allocations: 8 kB / 1.007 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/0.1778, allocations: 115.9 kB / 1.008 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.1779, allocations: 185.9 kB / 1.008 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.18, allocations: 1.921 MB / 1.01 GB, free: 6.977 MB / 0.9636 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.006959/0.187, allocations: 6.25 MB / 1.016 GB, free: 0.6641 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.1894, allocations: 3.311 MB / 1.019 GB, free: 13.31 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.1905, allocations: 1.046 MB / 1.02 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004258/0.1909, allocations: 215 kB / 1.02 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.191, allocations: 84.47 kB / 1.02 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=399): time 5.44e-06/0.191, allocations: 0 / 1.02 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of matching and sorting (n=399): time 0.003283/0.1943, allocations: 2.773 MB / 1.023 GB, free: 9.148 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1943, allocations: 94.55 kB / 1.023 GB, free: 9.043 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007593/0.1951, allocations: 1.122 MB / 1.024 GB, free: 7.914 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.1952, allocations: 93.7 kB / 1.024 GB, free: 7.816 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000482/0.1957, allocations: 1.018 MB / 1.025 GB, free: 6.785 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006831/0.1964, allocations: 1.441 MB / 1.027 GB, free: 5.332 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000654/0.197, allocations: 0.6617 MB / 1.027 GB, free: 4.66 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.1971, allocations: 484.7 kB / 1.028 GB, free: 4.184 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006601/0.1978, allocations: 0.5383 MB / 1.028 GB, free: 3.645 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009045/0.1987, allocations: 0.9724 MB / 1.029 GB, free: 2.617 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/0.2004, allocations: 1.873 MB / 1.031 GB, free: 0.6758 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.2005, allocations: 0 / 1.031 GB, free: 0.6758 MB / 0.9792 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.002566/0.203, allocations: 2.384 MB / 1.033 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.203, allocations: 4 kB / 1.033 GB, free: 14.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.203, allocations: 4.406 kB / 1.033 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.2031, allocations: 24 kB / 1.033 GB, free: 14.25 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.2048, allocations: 0.7685 MB / 1.034 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.2048, allocations: 20 kB / 1.034 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.2059, allocations: 293.6 kB / 1.034 GB, free: 13.17 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.2061, allocations: 95.98 kB / 1.035 GB, free: 13.08 MB / 0.9948 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 (493): * Single equations (assignments): 493 * 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.0004838/0.2066, allocations: 343.8 kB / 1.035 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003871/0.207, allocations: 386.4 kB / 1.035 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.2096, allocations: 2.51 MB / 1.038 GB, free: 9.793 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.2096, allocations: 40 kB / 1.038 GB, free: 9.754 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.2097, allocations: 0 / 1.038 GB, free: 9.754 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001931/0.2116, allocations: 1.842 MB / 1.04 GB, free: 7.852 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004668/0.2163, allocations: 4.373 MB / 1.044 GB, free: 3.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.2163, allocations: 0 / 1.044 GB, free: 3.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.2177, allocations: 0.6515 MB / 1.044 GB, free: 2.758 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000281/0.218, allocations: 138.9 kB / 1.045 GB, free: 2.609 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.2182, allocations: 83.98 kB / 1.045 GB, free: 2.527 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4068/0.6249, allocations: 5.975 MB / 1.051 GB, free: 125.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6249, allocations: 3.906 kB / 1.051 GB, free: 125.4 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004189/0.6291, allocations: 3.152 MB / 1.054 GB, free: 125 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008427/0.63, allocations: 0.6038 MB / 1.054 GB, free: 125 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.6302, allocations: 72.22 kB / 1.054 GB, free: 125 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008945/0.6311, allocations: 85.7 kB / 1.054 GB, free: 125 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/0.6314, allocations: 240.6 kB / 1.055 GB, free: 125 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/0.6315, allocations: 88.39 kB / 1.055 GB, free: 125 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004266/0.6319, allocations: 0.616 MB / 1.055 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6319, allocations: 0 / 1.055 GB, free: 124.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001634/0.6336, allocations: 1.11 MB / 1.056 GB, free: 124.8 MB / 0.9948 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.0003931/0.6339, allocations: 254.4 kB / 1.057 GB, free: 124.7 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.6361, allocations: 1.99 MB / 1.059 GB, free: 124.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.6361, allocations: 3 kB / 1.059 GB, free: 124.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.6373, allocations: 1.638 MB / 1.06 GB, free: 124 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.6395, allocations: 1.076 MB / 1.061 GB, free: 123.9 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/0.6448, allocations: 5.146 MB / 1.066 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.6453, allocations: 0.6621 MB / 1.067 GB, free: 122 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001347/0.6466, allocations: 485.9 kB / 1.067 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/0.6484, allocations: 1.016 MB / 1.068 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.222e-06/0.6484, allocations: 0 / 1.068 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of Templates: time 0.05595/0.7043, allocations: 52.22 MB / 1.119 GB, free: 113.7 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.802581709809601]