Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.0009705/0.0009705, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009542/0.0009542, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9085/0.9085, allocations: 177.1 MB / 203.7 MB, free: 5.512 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 2.264/2.264, allocations: 438.1 MB / 0.682 GB, free: 14.23 MB / 0.6511 GB " [Timeout remaining time 177] 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.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.8897 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.496e-05, allocations: 5.547 kB / 0.8897 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1073/0.1074, allocations: 136.4 MB / 1.023 GB, free: 0.8867 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.004891/0.1123, allocations: 4.511 MB / 1.027 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004003/0.1127, allocations: 51.62 kB / 1.027 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005778/0.1132, allocations: 325.5 kB / 1.028 GB, free: 12 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.1145, allocations: 1.223 MB / 1.029 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009621/0.1155, allocations: 0.865 MB / 1.03 GB, free: 9.898 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002358/0.1179, allocations: 4.162 MB / 1.034 GB, free: 5.723 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.1191, allocations: 1.113 MB / 1.035 GB, free: 4.59 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.1209, allocations: 1.992 MB / 1.037 GB, free: 2.609 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.122, allocations: 1.426 MB / 1.038 GB, free: 1.18 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.1222, allocations: 188 kB / 1.038 GB, free: 0.9961 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007114/0.1229, allocations: 495.2 kB / 1.039 GB, free: 0.5117 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003557/0.1233, allocations: 0.6661 MB / 1.04 GB, free: 15.84 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000482/0.1237, allocations: 0.7445 MB / 1.04 GB, free: 15.1 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.1253, allocations: 1.908 MB / 1.042 GB, free: 13.18 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1253, allocations: 4 kB / 1.042 GB, free: 13.18 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1253, allocations: 0 / 1.042 GB, free: 13.18 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.1254, allocations: 0 / 1.042 GB, free: 13.18 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: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.002204/0.1276, allocations: 2.217 MB / 1.044 GB, free: 10.91 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1276, allocations: 12.62 kB / 1.044 GB, free: 10.9 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/0.1308, allocations: 1.168 MB / 1.045 GB, free: 9.73 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.1318, allocations: 0.9172 MB / 1.046 GB, free: 8.789 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.1319, allocations: 135.2 kB / 1.046 GB, free: 8.656 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/0.1321, allocations: 160 kB / 1.047 GB, free: 8.5 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.1341, allocations: 1.779 MB / 1.048 GB, free: 6.633 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.1341, allocations: 3.938 kB / 1.048 GB, free: 6.629 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.1342, allocations: 60 kB / 1.048 GB, free: 6.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.398e-05/0.1343, allocations: 95.28 kB / 1.049 GB, free: 6.477 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.1359, allocations: 1.349 MB / 1.05 GB, free: 5.121 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004822/0.1408, allocations: 4.534 MB / 1.054 GB, free: 0.5039 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3803/0.5211, allocations: 2.244 MB / 1.056 GB, free: 79.08 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009172/0.522, allocations: 0.7714 MB / 1.057 GB, free: 79.05 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.5222, allocations: 75.5 kB / 1.057 GB, free: 79.05 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.5222, allocations: 58.98 kB / 1.057 GB, free: 79.01 MB / 1.01 GB Notification: Performance of pre-optimization done (n=237): time 4.389e-06/0.5222, allocations: 0 / 1.057 GB, free: 79.01 MB / 1.01 GB Notification: Performance of matching and sorting (n=237): time 0.002655/0.5249, allocations: 2.032 MB / 1.059 GB, free: 78.9 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.5249, allocations: 81.62 kB / 1.059 GB, free: 78.83 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.5253, allocations: 0.754 MB / 1.06 GB, free: 78.65 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.5254, allocations: 64.73 kB / 1.06 GB, free: 78.62 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.5256, allocations: 0.6376 MB / 1.061 GB, free: 78.35 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.526, allocations: 0.8479 MB / 1.062 GB, free: 77.9 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000439/0.5264, allocations: 440.7 kB / 1.062 GB, free: 77.86 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.775e-05/0.5265, allocations: 0.5276 MB / 1.063 GB, free: 77.38 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005433/0.527, allocations: 466.2 kB / 1.063 GB, free: 77.38 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006525/0.5277, allocations: 0.7729 MB / 1.064 GB, free: 77.15 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.5289, allocations: 1.383 MB / 1.065 GB, free: 76.89 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.5289, allocations: 0 / 1.065 GB, free: 76.89 MB / 1.01 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00184/0.5308, allocations: 1.749 MB / 1.067 GB, free: 76.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.5308, allocations: 12.81 kB / 1.067 GB, free: 76.69 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.5308, allocations: 3 kB / 1.067 GB, free: 76.69 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.5308, allocations: 14.69 kB / 1.067 GB, free: 76.69 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.5322, allocations: 0.5771 MB / 1.067 GB, free: 76.69 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.5322, allocations: 14.75 kB / 1.067 GB, free: 76.69 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009169/0.5332, allocations: 285.2 kB / 1.068 GB, free: 76.63 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.5333, allocations: 70.03 kB / 1.068 GB, free: 76.63 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (303): * Single equations (assignments): 303 * 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.000339/0.5336, allocations: 275.8 kB / 1.068 GB, free: 76.47 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/0.5339, allocations: 230.3 kB / 1.068 GB, free: 76.39 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.5357, allocations: 1.815 MB / 1.07 GB, free: 76.26 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.5357, allocations: 24.28 kB / 1.07 GB, free: 76.26 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.5357, allocations: 0 / 1.07 GB, free: 76.26 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001495/0.5372, allocations: 1.485 MB / 1.071 GB, free: 75.94 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.54, allocations: 2.712 MB / 1.074 GB, free: 75.51 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.54, allocations: 0.6562 kB / 1.074 GB, free: 75.51 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.5412, allocations: 0.4888 MB / 1.075 GB, free: 75.51 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/0.5415, allocations: 96.53 kB / 1.075 GB, free: 75.48 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.5416, allocations: 61.98 kB / 1.075 GB, free: 75.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002784/0.5419, allocations: 1.606 MB / 1.076 GB, free: 73.89 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5419, allocations: 5.656 kB / 1.076 GB, free: 73.89 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/0.5445, allocations: 2.384 MB / 1.079 GB, free: 73.51 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004918/0.545, allocations: 406.9 kB / 1.079 GB, free: 73.43 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.5451, allocations: 44.55 kB / 1.079 GB, free: 73.43 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008159/0.5459, allocations: 133.1 kB / 1.079 GB, free: 73.43 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.5461, allocations: 143.2 kB / 1.079 GB, free: 73.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.5462, allocations: 64.17 kB / 1.079 GB, free: 73.43 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00025/0.5465, allocations: 440.8 kB / 1.08 GB, free: 73.29 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.5465, allocations: 1.031 kB / 1.08 GB, free: 73.29 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001011/0.5475, allocations: 0.6749 MB / 1.081 GB, free: 73.27 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003153/0.5478, allocations: 216.9 kB / 1.081 GB, free: 73.18 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.5495, allocations: 1.475 MB / 1.082 GB, free: 73.12 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5495, allocations: 1.031 kB / 1.082 GB, free: 73.12 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.5506, allocations: 0.8345 MB / 1.083 GB, free: 73.09 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.5521, allocations: 0.6297 MB / 1.084 GB, free: 73.05 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.5556, allocations: 3.158 MB / 1.087 GB, free: 71.97 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.5558, allocations: 372.2 kB / 1.087 GB, free: 71.88 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001264/0.5571, allocations: 380.5 kB / 1.087 GB, free: 71.83 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/0.5585, allocations: 0.626 MB / 1.088 GB, free: 71.77 MB / 1.01 GB Notification: Performance of SimCode: time 8.41e-07/0.5585, allocations: 0 / 1.088 GB, free: 71.77 MB / 1.01 GB Notification: Performance of Templates: time 0.03981/0.5983, allocations: 36.74 MB / 1.124 GB, free: 68.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneOpenDoor.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: 7.763579208869487]