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.001678/0.001678, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.002827/0.002827, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.943/2.943, allocations: 476 MB / 0.7699 GB, free: 4.805 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002799/0.002799, allocations: 65.03 kB / 1.117 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4173, allocations: 169.9 MB / 1.283 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2715/0.6888, allocations: 193.4 MB / 1.472 GB, free: 1.629 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03416/0.723, allocations: 18.91 MB / 1.49 GB, free: 14.67 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00352/0.7265, allocations: 75.44 kB / 1.49 GB, free: 14.6 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.004324/0.7308, allocations: 1.185 MB / 1.492 GB, free: 13.41 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01406/0.7449, allocations: 4.247 MB / 1.496 GB, free: 9.145 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005384/0.7502, allocations: 1.591 MB / 1.497 GB, free: 7.555 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01121/0.7615, allocations: 7.046 MB / 1.504 GB, free: 496 kB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003967/0.7654, allocations: 1.802 MB / 1.506 GB, free: 14.64 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006406/0.7718, allocations: 2.481 MB / 1.508 GB, free: 12.15 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006376/0.7782, allocations: 2.48 MB / 1.511 GB, free: 9.672 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001401/0.7796, allocations: 344 kB / 1.511 GB, free: 9.336 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009191/0.7888, allocations: 2.899 MB / 1.514 GB, free: 6.43 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.002953/0.7918, allocations: 1.48 MB / 1.515 GB, free: 4.945 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.005497/0.7972, allocations: 1.588 MB / 1.517 GB, free: 3.352 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0143/0.8115, allocations: 5.716 MB / 1.522 GB, free: 13.61 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.8116, allocations: 0 / 1.522 GB, free: 13.61 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8116, allocations: 7.938 kB / 1.522 GB, free: 13.61 MB / 1.233 GB Notification: Performance of Transformations before backend: time 0.0002049/0.8118, allocations: 0 / 1.522 GB, free: 13.61 MB / 1.233 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.01423/0.826, allocations: 3.954 MB / 1.526 GB, free: 9.602 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.826, allocations: 8.031 kB / 1.526 GB, free: 9.594 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005843/0.8319, allocations: 0.8604 MB / 1.527 GB, free: 8.73 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006607/0.8385, allocations: 1.874 MB / 1.529 GB, free: 6.805 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004102/0.8389, allocations: 201.4 kB / 1.529 GB, free: 6.605 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001849/0.8407, allocations: 271.9 kB / 1.529 GB, free: 6.34 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.8532, allocations: 3.655 MB / 1.533 GB, free: 2.551 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001345/0.8534, allocations: 7.953 kB / 1.533 GB, free: 2.543 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000778/0.8542, allocations: 112 kB / 1.533 GB, free: 2.434 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001884/0.8544, allocations: 125.4 kB / 1.533 GB, free: 2.309 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/0.8645, allocations: 4.561 MB / 1.538 GB, free: 13.73 MB / 1.248 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.0218/0.8863, allocations: 7.225 MB / 1.545 GB, free: 6.449 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008146/0.8945, allocations: 4.504 MB / 1.549 GB, free: 1.918 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0047/0.8992, allocations: 2.289 MB / 1.551 GB, free: 15.62 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009502/0.9001, allocations: 187 kB / 1.552 GB, free: 15.44 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.587e-05/0.9002, allocations: 77.7 kB / 1.552 GB, free: 15.35 MB / 1.264 GB Notification: Performance of pre-optimization done (n=399): time 6.823e-06/0.9002, allocations: 0 / 1.552 GB, free: 15.35 MB / 1.264 GB Notification: Performance of matching and sorting (n=399): time 0.01285/0.9131, allocations: 5.806 MB / 1.557 GB, free: 9.516 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/0.9132, allocations: 90.55 kB / 1.557 GB, free: 9.414 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/0.9157, allocations: 1.215 MB / 1.559 GB, free: 8.191 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0004339/0.9161, allocations: 93.7 kB / 1.559 GB, free: 8.094 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008178/0.917, allocations: 0.8267 MB / 1.56 GB, free: 7.258 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001877/0.9188, allocations: 1.398 MB / 1.561 GB, free: 5.848 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/0.9201, allocations: 0.5508 MB / 1.561 GB, free: 5.289 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.9203, allocations: 309.1 kB / 1.562 GB, free: 4.984 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003144/0.9234, allocations: 1.603 MB / 1.563 GB, free: 3.379 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003525/0.9269, allocations: 1.905 MB / 1.565 GB, free: 1.43 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8491/1.776, allocations: 3.829 MB / 1.569 GB, free: 278.7 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.386e-05/1.776, allocations: 1.312 kB / 1.569 GB, free: 278.7 MB / 1.264 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01008/1.786, allocations: 4.197 MB / 1.573 GB, free: 277.5 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/1.786, allocations: 9.594 kB / 1.573 GB, free: 277.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/1.786, allocations: 4.734 kB / 1.573 GB, free: 277.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.497e-05/1.786, allocations: 17.28 kB / 1.573 GB, free: 277.5 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/1.789, allocations: 0.6819 MB / 1.574 GB, free: 277.5 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.814e-05/1.789, allocations: 26.33 kB / 1.574 GB, free: 277.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002836/1.792, allocations: 240.3 kB / 1.574 GB, free: 277.4 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002478/1.793, allocations: 114.1 kB / 1.574 GB, free: 277.4 MB / 1.264 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.001702/1.794, allocations: 0.7252 MB / 1.575 GB, free: 277 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007998/1.795, allocations: 254.4 kB / 1.575 GB, free: 276.9 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008173/1.803, allocations: 4.636 MB / 1.58 GB, free: 275.1 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-05/1.803, allocations: 38.22 kB / 1.58 GB, free: 275.1 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/1.803, allocations: 1.156 kB / 1.58 GB, free: 275.1 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006486/1.81, allocations: 3.95 MB / 1.583 GB, free: 273.5 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/1.825, allocations: 7.373 MB / 1.591 GB, free: 270.7 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/1.825, allocations: 0.875 kB / 1.591 GB, free: 270.7 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003089/1.828, allocations: 0.6652 MB / 1.591 GB, free: 270.6 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000525/1.829, allocations: 136.8 kB / 1.591 GB, free: 270.6 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002505/1.829, allocations: 82.39 kB / 1.591 GB, free: 270.5 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003162/1.832, allocations: 4.648 MB / 1.596 GB, free: 266.1 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.832, allocations: 0 / 1.596 GB, free: 266.1 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/1.843, allocations: 6.834 MB / 1.603 GB, free: 263.4 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001989/1.845, allocations: 0.6988 MB / 1.603 GB, free: 263.1 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000364/1.846, allocations: 68.11 kB / 1.603 GB, free: 263.1 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/1.847, allocations: 87.73 kB / 1.604 GB, free: 263 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005042/1.848, allocations: 236.8 kB / 1.604 GB, free: 263 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002267/1.848, allocations: 112.9 kB / 1.604 GB, free: 262.9 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001171/1.849, allocations: 0.848 MB / 1.605 GB, free: 262.6 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/1.849, allocations: 0 / 1.605 GB, free: 262.6 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002389/1.852, allocations: 1.078 MB / 1.606 GB, free: 262.4 MB / 1.264 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.0006167/1.852, allocations: 334.7 kB / 1.606 GB, free: 262.3 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00559/1.858, allocations: 3.831 MB / 1.61 GB, free: 259.8 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.858, allocations: 1.969 kB / 1.61 GB, free: 259.8 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002871/1.861, allocations: 2.363 MB / 1.612 GB, free: 257.7 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004591/1.865, allocations: 1.063 MB / 1.613 GB, free: 256.9 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008639/1.874, allocations: 6.679 MB / 1.62 GB, free: 251.1 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/1.875, allocations: 1.367 MB / 1.621 GB, free: 250 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.003537/1.879, allocations: 1.215 MB / 1.622 GB, free: 248.8 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008194/1.88, allocations: 239.4 kB / 1.622 GB, free: 248.6 MB / 1.264 GB Notification: Performance of SimCode: time 1.072e-06/1.88, allocations: 4 kB / 1.622 GB, free: 248.6 MB / 1.264 GB Notification: Performance of Templates: time 0.07058/1.95, allocations: 52.93 MB / 1.674 GB, free: 196.6 MB / 1.264 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.031906135380268]