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.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.0009527/0.0009527, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009765/0.0009765, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.8815/0.8815, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.949/1.949, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.263e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.1172/0.1173, allocations: 153.8 MB / 1.03 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01448/0.1317, allocations: 10.83 MB / 1.04 GB, free: 0.8633 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002174/0.1339, allocations: 75.44 kB / 1.04 GB, free: 0.7891 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009908/0.1349, allocations: 0.5004 MB / 1.041 GB, free: 292 kB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.138, allocations: 2.199 MB / 1.043 GB, free: 14.07 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.1401, allocations: 1.208 MB / 1.044 GB, free: 12.86 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.005014/0.1451, allocations: 7.031 MB / 1.051 GB, free: 5.809 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001946/0.147, allocations: 1.893 MB / 1.053 GB, free: 3.867 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003755/0.1508, allocations: 3.56 MB / 1.056 GB, free: 360 kB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3724/0.5231, allocations: 2.328 MB / 1.058 GB, free: 55.12 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0008858/0.524, allocations: 339.9 kB / 1.059 GB, free: 55.12 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.5256, allocations: 0.7106 MB / 1.059 GB, free: 55.12 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000908/0.5265, allocations: 1.49 MB / 1.061 GB, free: 55.12 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.5278, allocations: 1.35 MB / 1.062 GB, free: 55.12 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.5303, allocations: 3.339 MB / 1.066 GB, free: 54.91 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5303, allocations: 1.203 kB / 1.066 GB, free: 54.91 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5303, allocations: 3.969 kB / 1.066 GB, free: 54.91 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.696e-05/0.5303, allocations: 0 / 1.066 GB, free: 54.91 MB / 1.01 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.004117/0.5344, allocations: 3.788 MB / 1.069 GB, free: 53.46 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.5344, allocations: 11.22 kB / 1.069 GB, free: 53.46 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006939/0.5414, allocations: 2.303 MB / 1.071 GB, free: 53.05 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.5432, allocations: 1.548 MB / 1.073 GB, free: 52.64 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.5433, allocations: 221.8 kB / 1.073 GB, free: 52.63 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003958/0.5437, allocations: 282.1 kB / 1.073 GB, free: 52.63 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/0.5467, allocations: 2.73 MB / 1.076 GB, free: 52.01 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.501e-05/0.5467, allocations: 3 kB / 1.076 GB, free: 52.01 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002659/0.547, allocations: 109.2 kB / 1.076 GB, free: 52.01 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.5471, allocations: 189.6 kB / 1.076 GB, free: 52 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.5498, allocations: 2.409 MB / 1.079 GB, free: 51.92 MB / 1.01 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.009037/0.5588, allocations: 7.22 MB / 1.086 GB, free: 50.82 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003757/0.5626, allocations: 3.664 MB / 1.089 GB, free: 50.54 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.5643, allocations: 1.231 MB / 1.091 GB, free: 50.5 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.5644, allocations: 90.52 kB / 1.091 GB, free: 50.5 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.5645, allocations: 80.56 kB / 1.091 GB, free: 50.45 MB / 1.01 GB Notification: Performance of pre-optimization done (n=399): time 6.583e-06/0.5645, allocations: 3.516 kB / 1.091 GB, free: 50.45 MB / 1.01 GB Notification: Performance of matching and sorting (n=399): time 0.00529/0.5698, allocations: 3.218 MB / 1.094 GB, free: 50.15 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.5698, allocations: 94.53 kB / 1.094 GB, free: 50.08 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.5708, allocations: 1.137 MB / 1.095 GB, free: 49.83 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002369/0.5711, allocations: 93.92 kB / 1.095 GB, free: 49.8 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004762/0.5716, allocations: 1.029 MB / 1.096 GB, free: 49.26 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007758/0.5723, allocations: 1.433 MB / 1.098 GB, free: 48.33 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009737/0.5733, allocations: 0.682 MB / 1.098 GB, free: 48.28 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.73e-05/0.5733, allocations: 479.9 kB / 1.099 GB, free: 47.81 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.5746, allocations: 0.8011 MB / 1.1 GB, free: 47.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.5761, allocations: 1.231 MB / 1.101 GB, free: 47.59 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/0.5789, allocations: 2.364 MB / 1.103 GB, free: 47.34 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.5789, allocations: 2.141 kB / 1.103 GB, free: 47.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.004201/0.5831, allocations: 2.903 MB / 1.106 GB, free: 47.09 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5831, allocations: 6.25 kB / 1.106 GB, free: 47.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.5832, allocations: 3 kB / 1.106 GB, free: 47.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.5832, allocations: 21.09 kB / 1.106 GB, free: 47.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/0.5861, allocations: 0.9098 MB / 1.107 GB, free: 47.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-05/0.5862, allocations: 25.78 kB / 1.107 GB, free: 47.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/0.5884, allocations: 431.9 kB / 1.107 GB, free: 46.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/0.5886, allocations: 102.1 kB / 1.107 GB, free: 46.91 MB / 1.01 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.0008227/0.5895, allocations: 351.3 kB / 1.108 GB, free: 46.75 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006216/0.5901, allocations: 377.2 kB / 1.108 GB, free: 46.62 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/0.5906, allocations: 407.3 kB / 1.108 GB, free: 46.58 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.66e-05/0.5906, allocations: 37.94 kB / 1.108 GB, free: 46.58 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.222e-05/0.5906, allocations: 2.062 kB / 1.108 GB, free: 46.58 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003267/0.5939, allocations: 2.145 MB / 1.111 GB, free: 46.29 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007489/0.6014, allocations: 5.051 MB / 1.115 GB, free: 45.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.6014, allocations: 0 / 1.115 GB, free: 45.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002631/0.604, allocations: 0.7964 MB / 1.116 GB, free: 45.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003116/0.6043, allocations: 133 kB / 1.116 GB, free: 45.66 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002569/0.6046, allocations: 91.44 kB / 1.116 GB, free: 45.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.6062, allocations: 5.991 MB / 1.122 GB, free: 39.89 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6063, allocations: 1.266 kB / 1.122 GB, free: 39.89 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004969/0.6112, allocations: 3.658 MB / 1.126 GB, free: 39.37 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.6124, allocations: 0.6829 MB / 1.127 GB, free: 39.19 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000353/0.6127, allocations: 69.14 kB / 1.127 GB, free: 39.19 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/0.6144, allocations: 213.8 kB / 1.127 GB, free: 39.19 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004035/0.6148, allocations: 227.1 kB / 1.127 GB, free: 39.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/0.615, allocations: 93.19 kB / 1.127 GB, free: 39.18 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005033/0.6155, allocations: 0.6216 MB / 1.128 GB, free: 39.03 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6155, allocations: 0.9062 kB / 1.128 GB, free: 39.03 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001881/0.6174, allocations: 1.214 MB / 1.129 GB, free: 38.95 MB / 1.01 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.0003727/0.6178, allocations: 216 kB / 1.129 GB, free: 38.86 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003037/0.6208, allocations: 2.45 MB / 1.132 GB, free: 38.75 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6208, allocations: 0 / 1.132 GB, free: 38.75 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001772/0.6226, allocations: 1.825 MB / 1.133 GB, free: 38.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/0.6252, allocations: 1.139 MB / 1.134 GB, free: 38.07 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006712/0.6319, allocations: 5.82 MB / 1.14 GB, free: 36.04 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.6325, allocations: 0.6658 MB / 1.141 GB, free: 35.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002418/0.6349, allocations: 0.6279 MB / 1.141 GB, free: 35.59 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002574/0.6375, allocations: 1.044 MB / 1.142 GB, free: 35.52 MB / 1.01 GB Notification: Performance of SimCode: time 1.273e-06/0.6375, allocations: 4 kB / 1.142 GB, free: 35.52 MB / 1.01 GB Notification: Performance of Templates: time 0.05701/0.6945, allocations: 67.23 MB / 1.208 GB, free: 0.8789 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.517728575970978]