Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.001732/0.001732, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002081/0.002081, allocations: 209.3 kB / 22.24 MB, free: 5.262 MB / 14.72 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.683/1.683, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 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.732/3.732, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 67.8 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4922/0.4944, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2721/0.7665, allocations: 178.9 MB / 1.539 GB, free: 10.02 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.7804, allocations: 7.059 MB / 1.545 GB, free: 2.941 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.7825, allocations: 51.56 kB / 1.545 GB, free: 2.891 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.785, allocations: 0.6564 MB / 1.546 GB, free: 2.23 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009332/0.7943, allocations: 2.574 MB / 1.549 GB, free: 15.65 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004298/0.7986, allocations: 1.26 MB / 1.55 GB, free: 14.39 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.005675/0.8043, allocations: 2.983 MB / 1.553 GB, free: 11.39 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.806, allocations: 0.7055 MB / 1.553 GB, free: 10.67 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003757/0.8098, allocations: 1.203 MB / 1.555 GB, free: 9.461 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003513/0.8133, allocations: 0.9877 MB / 1.556 GB, free: 8.477 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002856/0.8136, allocations: 112 kB / 1.556 GB, free: 8.367 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006167/0.8198, allocations: 1.788 MB / 1.557 GB, free: 6.574 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008785/0.8206, allocations: 466.6 kB / 1.558 GB, free: 6.117 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.8218, allocations: 0.5641 MB / 1.558 GB, free: 5.551 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.007081/0.8289, allocations: 2.402 MB / 1.561 GB, free: 3.141 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.8289, allocations: 0 / 1.561 GB, free: 3.141 MB / 1.248 GB Notification: Performance of FrontEnd: time 4.579e-06/0.8289, allocations: 0 / 1.561 GB, free: 3.141 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.841e-05/0.8289, allocations: 0 / 1.561 GB, free: 3.141 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004511/0.8334, allocations: 1.605 MB / 1.562 GB, free: 1.5 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 6.942e-05/0.8335, allocations: 12.02 kB / 1.562 GB, free: 1.488 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003555/0.8371, allocations: 0.4948 MB / 1.563 GB, free: 0.9922 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.839, allocations: 0.7876 MB / 1.564 GB, free: 180 kB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.515e-05/0.8391, allocations: 73.98 kB / 1.564 GB, free: 104 kB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.8392, allocations: 84 kB / 1.564 GB, free: 20 kB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.8416, allocations: 1.309 MB / 1.565 GB, free: 14.63 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.8416, allocations: 0 / 1.565 GB, free: 14.63 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.8417, allocations: 32 kB / 1.565 GB, free: 14.6 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.519e-05/0.8418, allocations: 45.98 kB / 1.565 GB, free: 14.55 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.8438, allocations: 0.9875 MB / 1.566 GB, free: 13.57 MB / 1.264 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.005143/0.8489, allocations: 2.84 MB / 1.569 GB, free: 10.65 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.8506, allocations: 0.7684 MB / 1.57 GB, free: 9.879 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009849/0.8516, allocations: 483.2 kB / 1.57 GB, free: 9.406 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 6.164e-05/0.8516, allocations: 20.58 kB / 1.57 GB, free: 9.387 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.8517, allocations: 39.22 kB / 1.57 GB, free: 9.34 MB / 1.264 GB Notification: Performance of pre-optimization done (n=70): time 3.145e-06/0.8517, allocations: 0 / 1.57 GB, free: 9.34 MB / 1.264 GB Notification: Performance of matching and sorting (n=70): time 0.002601/0.8543, allocations: 1.153 MB / 1.571 GB, free: 8.18 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.8543, allocations: 60.06 kB / 1.571 GB, free: 8.109 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008519/0.8552, allocations: 0.5942 MB / 1.572 GB, free: 7.508 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.814e-05/0.8553, allocations: 37.7 kB / 1.572 GB, free: 7.465 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.8556, allocations: 452.7 kB / 1.572 GB, free: 7.016 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.8559, allocations: 261.7 kB / 1.573 GB, free: 6.758 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.8561, allocations: 118.3 kB / 1.573 GB, free: 6.637 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002268/0.8563, allocations: 390.7 kB / 1.573 GB, free: 6.246 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006863/0.857, allocations: 329.1 kB / 1.573 GB, free: 5.922 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007386/0.8578, allocations: 409 kB / 1.574 GB, free: 5.5 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.8592, allocations: 0.7566 MB / 1.575 GB, free: 4.727 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.8592, allocations: 8 kB / 1.575 GB, free: 4.719 MB / 1.264 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001865/0.8611, allocations: 0.8911 MB / 1.575 GB, free: 3.82 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.8611, allocations: 8 kB / 1.575 GB, free: 3.812 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.8611, allocations: 192 / 1.575 GB, free: 3.812 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.8611, allocations: 8 kB / 1.575 GB, free: 3.805 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008368/0.862, allocations: 155.8 kB / 1.576 GB, free: 3.652 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.862, allocations: 7.938 kB / 1.576 GB, free: 3.645 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009471/0.8629, allocations: 63.64 kB / 1.576 GB, free: 3.582 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/0.863, allocations: 23.98 kB / 1.576 GB, free: 3.559 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0006273/0.8636, allocations: 286.2 kB / 1.576 GB, free: 3.27 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.8638, allocations: 87.48 kB / 1.576 GB, free: 3.184 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.864, allocations: 111.3 kB / 1.576 GB, free: 3.066 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.8641, allocations: 4 kB / 1.576 GB, free: 3.062 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.8641, allocations: 0 / 1.576 GB, free: 3.062 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001692/0.8658, allocations: 0.9189 MB / 1.577 GB, free: 2.094 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/0.869, allocations: 1.727 MB / 1.579 GB, free: 336 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.869, allocations: 0 / 1.579 GB, free: 336 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009812/0.87, allocations: 183.8 kB / 1.579 GB, free: 152 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.87, allocations: 0 / 1.579 GB, free: 152 kB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.42e-05/0.8701, allocations: 27.94 kB / 1.579 GB, free: 124 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.8701, allocations: 3.984 kB / 1.579 GB, free: 120 kB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.8701, allocations: 3.984 kB / 1.579 GB, free: 116 kB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/0.8727, allocations: 1.366 MB / 1.58 GB, free: 14.73 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005378/0.8733, allocations: 183.2 kB / 1.58 GB, free: 14.55 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.8734, allocations: 19.94 kB / 1.58 GB, free: 14.53 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007442/0.8742, allocations: 35.97 kB / 1.58 GB, free: 14.49 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.8743, allocations: 44.56 kB / 1.581 GB, free: 14.45 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.8743, allocations: 27.98 kB / 1.581 GB, free: 14.42 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0006135/0.875, allocations: 427 kB / 1.581 GB, free: 14.01 MB / 1.279 GB Notification: Performance of sort global known variables: time 7.1e-08/0.875, allocations: 0 / 1.581 GB, free: 14.01 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0009969/0.876, allocations: 335.4 kB / 1.581 GB, free: 13.68 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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 Backend phase and start with SimCode phase: time 0.0003318/0.8763, allocations: 175.1 kB / 1.581 GB, free: 13.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.878, allocations: 0.7553 MB / 1.582 GB, free: 12.75 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.878, allocations: 0 / 1.582 GB, free: 12.75 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0008078/0.8788, allocations: 411.5 kB / 1.583 GB, free: 12.35 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.8811, allocations: 0.5135 MB / 1.583 GB, free: 11.85 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.8855, allocations: 2.253 MB / 1.585 GB, free: 9.562 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006153/0.8861, allocations: 0.491 MB / 1.586 GB, free: 9.039 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00102/0.8871, allocations: 230.8 kB / 1.586 GB, free: 8.809 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.8874, allocations: 75.42 kB / 1.586 GB, free: 8.734 MB / 1.279 GB Notification: Performance of SimCode: time 1.092e-06/0.8874, allocations: 0 / 1.586 GB, free: 8.734 MB / 1.279 GB Notification: Performance of Templates: time 0.05141/0.9388, allocations: 21.15 MB / 1.607 GB, free: 4.031 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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: 12.777551606297493]