Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001498/0.001498, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001719/0.001719, allocations: 165 kB / 23.82 MB, free: 0.75 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.9708/0.9708, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.798/1.798, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Airflow.Multizone.Examples.ClosedDoors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.543e-05/3.752e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1799/0.1799, allocations: 156.6 MB / 0.94 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01445/0.1944, allocations: 10.91 MB / 0.9506 GB, free: 4.449 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002931/0.1973, allocations: 75.44 kB / 0.9507 GB, free: 4.375 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.1992, allocations: 0.4965 MB / 0.9512 GB, free: 3.875 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.005245/0.2045, allocations: 2.179 MB / 0.9533 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.2073, allocations: 1.208 MB / 0.9545 GB, free: 484 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.007737/0.215, allocations: 7.008 MB / 0.9614 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003412/0.2185, allocations: 1.893 MB / 0.9632 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006195/0.2247, allocations: 3.056 MB / 0.9662 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004476/0.2291, allocations: 2.389 MB / 0.9685 GB, free: 2.066 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.2302, allocations: 344 kB / 0.9689 GB, free: 1.73 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.2327, allocations: 0.7916 MB / 0.9696 GB, free: 0.9375 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001776/0.2345, allocations: 1.566 MB / 0.9712 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.002881/0.2373, allocations: 1.38 MB / 0.9725 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00586/0.2432, allocations: 3.388 MB / 0.9758 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.2432, allocations: 4 kB / 0.9758 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.025e-06/0.2432, allocations: 0 / 0.9758 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001654/0.2434, allocations: 0 / 0.9758 GB, free: 10.58 MB / 0.9323 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.006592/0.25, allocations: 3.921 MB / 0.9796 GB, free: 6.609 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.25, allocations: 12.03 kB / 0.9797 GB, free: 6.598 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002979/0.253, allocations: 1.114 MB / 0.9807 GB, free: 5.48 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0032/0.2562, allocations: 1.795 MB / 0.9825 GB, free: 3.637 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.2563, allocations: 205.4 kB / 0.9827 GB, free: 3.434 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005512/0.2569, allocations: 275.9 kB / 0.983 GB, free: 3.164 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003128/0.26, allocations: 2.223 MB / 0.9851 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.418e-05/0.26, allocations: 0 / 0.9851 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.2602, allocations: 119.9 kB / 0.9852 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.664e-05/0.2603, allocations: 125.4 kB / 0.9854 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003656/0.264, allocations: 2.17 MB / 0.9875 GB, free: 14.38 MB / 0.948 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.009792/0.2738, allocations: 6.048 MB / 0.9934 GB, free: 8.266 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003652/0.2774, allocations: 3.553 MB / 0.9969 GB, free: 4.68 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.2792, allocations: 1.23 MB / 0.9981 GB, free: 3.441 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005392/0.2797, allocations: 215 kB / 0.9983 GB, free: 3.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.407e-05/0.2798, allocations: 80.53 kB / 0.9983 GB, free: 3.141 MB / 0.948 GB Notification: Performance of pre-optimization done (n=399): time 5.53e-06/0.2798, allocations: 0 / 0.9983 GB, free: 3.141 MB / 0.948 GB Notification: Performance of matching and sorting (n=399): time 0.005424/0.2852, allocations: 3.234 MB / 1.001 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.2853, allocations: 102.5 kB / 1.002 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.2866, allocations: 1.084 MB / 1.003 GB, free: 14.67 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002919/0.2869, allocations: 97.7 kB / 1.003 GB, free: 14.57 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004897/0.2874, allocations: 0.8888 MB / 1.004 GB, free: 13.67 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001129/0.2885, allocations: 1.41 MB / 1.005 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006147/0.2891, allocations: 0.5582 MB / 1.006 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2892, allocations: 476.8 kB / 1.006 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.2903, allocations: 0.6429 MB / 1.007 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.2918, allocations: 1.026 MB / 1.008 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/0.2943, allocations: 2.055 MB / 1.01 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.2943, allocations: 4 kB / 1.01 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.003797/0.2981, allocations: 2.467 MB / 1.012 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.2981, allocations: 4 kB / 1.012 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.2981, allocations: 4 kB / 1.012 GB, free: 4.848 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-05/0.2982, allocations: 16.41 kB / 1.012 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/0.3, allocations: 0.6904 MB / 1.013 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.836e-05/0.3, allocations: 27.92 kB / 1.013 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.3016, allocations: 234.2 kB / 1.013 GB, free: 3.883 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/0.3018, allocations: 116 kB / 1.013 GB, free: 3.77 MB / 0.9636 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.0008325/0.3027, allocations: 335.8 kB / 1.013 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006746/0.3033, allocations: 378.4 kB / 1.014 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/0.3076, allocations: 2.807 MB / 1.017 GB, free: 208 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/0.3076, allocations: 40 kB / 1.017 GB, free: 168 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.3076, allocations: 0 / 1.017 GB, free: 168 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002887/0.3105, allocations: 2.162 MB / 1.019 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008219/0.3187, allocations: 5.06 MB / 1.024 GB, free: 8.809 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.3187, allocations: 0 / 1.024 GB, free: 8.809 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/0.3205, allocations: 0.6593 MB / 1.024 GB, free: 8.148 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004005/0.3209, allocations: 139 kB / 1.024 GB, free: 8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002635/0.3211, allocations: 83.91 kB / 1.024 GB, free: 7.918 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003327/0.3244, allocations: 6.059 MB / 1.03 GB, free: 1.496 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3244, allocations: 0 / 1.03 GB, free: 1.496 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005902/0.3304, allocations: 3.633 MB / 1.034 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/0.3318, allocations: 0.6613 MB / 1.035 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003766/0.3322, allocations: 71.94 kB / 1.035 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.3334, allocations: 89.11 kB / 1.035 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003441/0.3337, allocations: 238.7 kB / 1.035 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/0.3339, allocations: 112 kB / 1.035 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00109/0.335, allocations: 0.6765 MB / 1.036 GB, free: 11.96 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.335, allocations: 4 kB / 1.036 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002407/0.3374, allocations: 1.069 MB / 1.037 GB, free: 10.88 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.0006245/0.338, allocations: 250.5 kB / 1.037 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003444/0.3415, allocations: 2.153 MB / 1.039 GB, free: 8.457 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3415, allocations: 3.938 kB / 1.039 GB, free: 8.453 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002292/0.3438, allocations: 1.787 MB / 1.041 GB, free: 6.605 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003674/0.3474, allocations: 1.083 MB / 1.042 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008518/0.356, allocations: 5.234 MB / 1.047 GB, free: 240 kB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3731/0.7291, allocations: 0.6641 MB / 1.048 GB, free: 150.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002535/0.7316, allocations: 1.015 MB / 1.049 GB, free: 150.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007102/0.7323, allocations: 238.4 kB / 1.049 GB, free: 150.7 MB / 0.9948 GB Notification: Performance of SimCode: time 2.124e-06/0.7323, allocations: 1 kB / 1.049 GB, free: 150.7 MB / 0.9948 GB Notification: Performance of Templates: time 0.0555/0.7878, allocations: 47.01 MB / 1.095 GB, free: 146.6 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 9.341116168070585]