Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001001/0.001001, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.000907/0.0009071, allocations: 177.3 kB / 15.95 MB, free: 216 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.427/1.427, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.667/2.667, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003871, allocations: 8 kB / 0.8708 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8112/0.8116, allocations: 153.6 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1994/1.011, allocations: 179.4 MB / 1.196 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02555/1.037, allocations: 18.03 MB / 1.214 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/1.04, allocations: 43.75 kB / 1.214 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003842/1.043, allocations: 1.112 MB / 1.215 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01241/1.056, allocations: 3.432 MB / 1.218 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00521/1.061, allocations: 1.469 MB / 1.22 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007186/1.068, allocations: 3.956 MB / 1.223 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002886/1.071, allocations: 1.744 MB / 1.225 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/1.075, allocations: 1.827 MB / 1.227 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002929/1.078, allocations: 1.639 MB / 1.229 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004789/1.079, allocations: 160 kB / 1.229 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005353/1.084, allocations: 1.693 MB / 1.23 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00147/1.086, allocations: 1.146 MB / 1.231 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001289/1.087, allocations: 0.6252 MB / 1.232 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005806/1.093, allocations: 3.826 MB / 1.236 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/1.093, allocations: 0 / 1.236 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.284e-06/1.093, allocations: 0 / 1.236 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001001/1.093, allocations: 0 / 1.236 GB, free: 4.43 MB / 0.9825 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.009774/1.103, allocations: 3.442 MB / 1.239 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.103, allocations: 12.03 kB / 1.239 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005365/1.108, allocations: 0.8392 MB / 1.24 GB, free: 72 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004592/1.113, allocations: 1.798 MB / 1.242 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/1.113, allocations: 209.4 kB / 1.242 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005226/1.113, allocations: 264 kB / 1.242 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006014/1.119, allocations: 3.24 MB / 1.245 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.297e-05/1.12, allocations: 3.906 kB / 1.245 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/1.12, allocations: 112 kB / 1.245 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/1.12, allocations: 121.4 kB / 1.246 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007191/1.127, allocations: 4.608 MB / 1.25 GB, free: 5.613 MB / 0.9981 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.7092/1.836, allocations: 10.89 MB / 1.261 GB, free: 225 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007417/1.844, allocations: 4.851 MB / 1.265 GB, free: 222.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/1.845, allocations: 0.8648 MB / 1.266 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.05e-05/1.845, allocations: 81.03 kB / 1.266 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 6.122e-06/1.845, allocations: 1.25 kB / 1.266 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.01199/1.857, allocations: 6.024 MB / 1.272 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/1.857, allocations: 91.98 kB / 1.272 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/1.859, allocations: 1.254 MB / 1.274 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003614/1.86, allocations: 95.98 kB / 1.274 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005903/1.86, allocations: 0.8159 MB / 1.274 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001183/1.861, allocations: 1.334 MB / 1.276 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/1.862, allocations: 66.03 kB / 1.276 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001995/1.862, allocations: 446.7 kB / 1.276 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004155/1.866, allocations: 1.595 MB / 1.278 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004621/1.871, allocations: 1.885 MB / 1.28 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005423/1.876, allocations: 1.893 MB / 1.281 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/1.876, allocations: 1.188 kB / 1.281 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007456/1.884, allocations: 4.184 MB / 1.286 GB, free: 213 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/1.884, allocations: 11.45 kB / 1.286 GB, free: 213 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.884, allocations: 0 / 1.286 GB, free: 213 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/1.884, allocations: 21.72 kB / 1.286 GB, free: 213 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/1.886, allocations: 0.6759 MB / 1.286 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.411e-05/1.886, allocations: 28.5 kB / 1.286 GB, free: 212.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/1.89, allocations: 396 kB / 1.287 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/1.89, allocations: 116.3 kB / 1.287 GB, free: 212.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001363/1.891, allocations: 0.7278 MB / 1.287 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003633/1.892, allocations: 241.5 kB / 1.288 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006045/1.898, allocations: 4.64 MB / 1.292 GB, free: 210 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/1.898, allocations: 42.31 kB / 1.292 GB, free: 210 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/1.898, allocations: 0 / 1.292 GB, free: 210 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004509/1.902, allocations: 3.954 MB / 1.296 GB, free: 206.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003995/1.906, allocations: 3.353 MB / 1.299 GB, free: 203.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.906, allocations: 0 / 1.299 GB, free: 203.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/1.909, allocations: 0.6578 MB / 1.3 GB, free: 202.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004026/1.909, allocations: 141.1 kB / 1.3 GB, free: 202.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/1.909, allocations: 83.97 kB / 1.3 GB, free: 202.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002718/1.912, allocations: 4.595 MB / 1.305 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.912, allocations: 7.938 kB / 1.305 GB, free: 197.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008895/1.921, allocations: 6.8 MB / 1.311 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/1.923, allocations: 0.7705 MB / 1.312 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004971/1.923, allocations: 68 kB / 1.312 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002471/1.926, allocations: 227.7 kB / 1.312 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/1.926, allocations: 222.8 kB / 1.313 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002194/1.926, allocations: 116 kB / 1.313 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001153/1.928, allocations: 0.8831 MB / 1.314 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.928, allocations: 0 / 1.314 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002659/1.93, allocations: 1.087 MB / 1.315 GB, free: 187.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006876/1.931, allocations: 373.6 kB / 1.315 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005329/1.936, allocations: 4.031 MB / 1.319 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.936, allocations: 7.781 kB / 1.319 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003073/1.939, allocations: 2.544 MB / 1.321 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004323/1.944, allocations: 0.9632 MB / 1.322 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/1.954, allocations: 7.878 MB / 1.33 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/1.955, allocations: 1.989 MB / 1.332 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003868/1.959, allocations: 1.219 MB / 1.333 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.96, allocations: 243.4 kB / 1.333 GB, free: 168 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.96, allocations: 0 / 1.333 GB, free: 168 MB / 0.9981 GB Notification: Performance of Templates: time 0.06119/2.022, allocations: 43.98 MB / 1.376 GB, free: 124.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches