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.001425/0.001425, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001571/0.001571, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.47/1.47, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.205/3.205, allocations: 429.6 MB / 0.673 GB, free: 3.859 MB / 0.6355 GB " [Timeout remaining time 176] 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 6.583e-06/6.583e-06, allocations: 4 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.472e-05/4.13e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.7732/0.7733, allocations: 193.2 MB / 1.066 GB, free: 45.72 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02145/0.7947, allocations: 18.91 MB / 1.085 GB, free: 45.59 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002756/0.7975, allocations: 78.47 kB / 1.085 GB, free: 45.59 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.003025/0.8005, allocations: 1.199 MB / 1.086 GB, free: 45.56 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.8108, allocations: 4.378 MB / 1.09 GB, free: 45.32 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003825/0.8146, allocations: 1.591 MB / 1.092 GB, free: 45.22 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.007355/0.8219, allocations: 7.197 MB / 1.099 GB, free: 44.12 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002974/0.8249, allocations: 1.906 MB / 1.101 GB, free: 43.97 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007418/0.8323, allocations: 3.458 MB / 1.104 GB, free: 43.7 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006022/0.8384, allocations: 2.34 MB / 1.106 GB, free: 43.52 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.8397, allocations: 344.4 kB / 1.107 GB, free: 43.52 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007713/0.8474, allocations: 2.925 MB / 1.11 GB, free: 43.22 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.002673/0.8501, allocations: 1.494 MB / 1.111 GB, free: 43.06 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.003787/0.8539, allocations: 1.359 MB / 1.112 GB, free: 42.94 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.8657, allocations: 5.943 MB / 1.118 GB, free: 42.44 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.8657, allocations: 2.453 kB / 1.118 GB, free: 42.44 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8657, allocations: 0 / 1.118 GB, free: 42.44 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001639/0.8659, allocations: 1.031 kB / 1.118 GB, free: 42.44 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.01405/0.88, allocations: 3.828 MB / 1.122 GB, free: 40.97 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.88, allocations: 9.531 kB / 1.122 GB, free: 40.97 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0193/0.8993, allocations: 2.389 MB / 1.124 GB, free: 40.56 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006684/0.906, allocations: 1.955 MB / 1.126 GB, free: 40.12 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004369/0.9064, allocations: 225.1 kB / 1.126 GB, free: 40.12 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.9083, allocations: 279.6 kB / 1.127 GB, free: 40.12 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.9215, allocations: 4.77 MB / 1.131 GB, free: 38.95 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/0.9216, allocations: 5.984 kB / 1.131 GB, free: 38.95 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001218/0.9228, allocations: 115.5 kB / 1.131 GB, free: 38.86 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002505/0.9231, allocations: 187.5 kB / 1.132 GB, free: 38.84 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01466/0.9377, allocations: 6.261 MB / 1.138 GB, free: 37.02 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.02678/0.9645, allocations: 9.207 MB / 1.147 GB, free: 33.3 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.9753, allocations: 5.725 MB / 1.152 GB, free: 30.74 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006313/0.9816, allocations: 2.893 MB / 1.155 GB, free: 29.76 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003837/0.982, allocations: 85.98 kB / 1.155 GB, free: 29.75 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.487e-05/0.9821, allocations: 82.67 kB / 1.155 GB, free: 29.68 MB / 1.01 GB Notification: Performance of pre-optimization done (n=399): time 7.093e-06/0.9821, allocations: 0 / 1.155 GB, free: 29.68 MB / 1.01 GB Notification: Performance of matching and sorting (n=399): time 0.01878/1.001, allocations: 7.694 MB / 1.163 GB, free: 26.98 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/1.001, allocations: 93.73 kB / 1.163 GB, free: 26.91 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/1.003, allocations: 1.289 MB / 1.164 GB, free: 26.39 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001115/1.004, allocations: 91.83 kB / 1.164 GB, free: 26.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005223/1.005, allocations: 0.9643 MB / 1.165 GB, free: 25.55 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001982/1.007, allocations: 1.39 MB / 1.166 GB, free: 24.44 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00336/1.01, allocations: 0.6624 MB / 1.167 GB, free: 24.15 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.671e-05/1.01, allocations: 305.1 kB / 1.167 GB, free: 23.85 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005349/1.015, allocations: 2.429 MB / 1.17 GB, free: 23 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005661/1.021, allocations: 2.775 MB / 1.172 GB, free: 21.95 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/1.033, allocations: 5.301 MB / 1.178 GB, free: 19.72 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-05/1.033, allocations: 0 / 1.178 GB, free: 19.72 MB / 1.01 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.01987/1.052, allocations: 6.059 MB / 1.184 GB, free: 17.45 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/1.052, allocations: 6.094 kB / 1.184 GB, free: 17.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/1.053, allocations: 8.922 kB / 1.184 GB, free: 17.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.806e-05/1.053, allocations: 19.59 kB / 1.184 GB, free: 17.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007241/1.06, allocations: 0.9104 MB / 1.185 GB, free: 17.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001494/1.06, allocations: 23.66 kB / 1.185 GB, free: 17.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006171/1.066, allocations: 428.6 kB / 1.185 GB, free: 17.17 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/1.067, allocations: 132.4 kB / 1.185 GB, free: 17.14 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.002961/1.07, allocations: 0.7462 MB / 1.186 GB, free: 16.76 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002763/1.073, allocations: 375.7 kB / 1.186 GB, free: 16.58 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/1.074, allocations: 420.1 kB / 1.187 GB, free: 16.23 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.39e-05/1.075, allocations: 38.81 kB / 1.187 GB, free: 16.23 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-05/1.075, allocations: 1.688 kB / 1.187 GB, free: 16.23 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01159/1.086, allocations: 5.107 MB / 1.192 GB, free: 14.31 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02133/1.107, allocations: 9.189 MB / 1.201 GB, free: 10.75 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/1.107, allocations: 0 / 1.201 GB, free: 10.75 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005876/1.113, allocations: 0.7974 MB / 1.201 GB, free: 10.58 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006271/1.114, allocations: 174.1 kB / 1.202 GB, free: 10.48 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009256/1.115, allocations: 96.34 kB / 1.202 GB, free: 10.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002886/1.118, allocations: 4.669 MB / 1.206 GB, free: 5.547 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.118, allocations: 0 / 1.206 GB, free: 5.547 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01967/1.137, allocations: 9.037 MB / 1.215 GB, free: 12.46 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003211/1.141, allocations: 0.798 MB / 1.216 GB, free: 11.66 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/1.142, allocations: 71.98 kB / 1.216 GB, free: 11.59 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004737/1.147, allocations: 209 kB / 1.216 GB, free: 11.39 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001043/1.148, allocations: 226.7 kB / 1.216 GB, free: 11.16 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007301/1.148, allocations: 127.9 kB / 1.216 GB, free: 11.04 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.002025/1.15, allocations: 0.8563 MB / 1.217 GB, free: 10.18 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/1.15, allocations: 3.094 kB / 1.217 GB, free: 10.18 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.005388/1.156, allocations: 1.225 MB / 1.218 GB, free: 8.953 MB / 1.026 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.001047/1.157, allocations: 302 kB / 1.219 GB, free: 8.691 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01369/1.17, allocations: 5.324 MB / 1.224 GB, free: 3.41 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.17, allocations: 0.8125 kB / 1.224 GB, free: 3.41 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.007179/1.178, allocations: 2.977 MB / 1.227 GB, free: 480 kB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00714/1.185, allocations: 1.14 MB / 1.228 GB, free: 15.35 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/1.203, allocations: 7.428 MB / 1.235 GB, free: 7.871 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002692/1.206, allocations: 1.366 MB / 1.236 GB, free: 6.469 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.008751/1.215, allocations: 1.529 MB / 1.238 GB, free: 4.934 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003119/1.218, allocations: 256.4 kB / 1.238 GB, free: 4.684 MB / 1.042 GB Notification: Performance of SimCode: time 1.202e-06/1.218, allocations: 0 / 1.238 GB, free: 4.684 MB / 1.042 GB Notification: Performance of Templates: time 0.1147/1.333, allocations: 62.48 MB / 1.299 GB, free: 7.301 MB / 1.104 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.64157696510665]