Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001656/0.001656, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001974/0.001974, allocations: 216.1 kB / 23.01 MB, free: 4.609 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 8.07 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.928/2.928, allocations: 476.8 MB / 0.7714 GB, free: 4.289 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.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_11_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_11_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.002103/0.002103, allocations: 69.83 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4171, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2601/0.6772, allocations: 206.1 MB / 1.486 GB, free: 12.42 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01376/0.6909, allocations: 7.436 MB / 1.493 GB, free: 4.965 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.693, allocations: 47.62 kB / 1.493 GB, free: 4.918 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.6954, allocations: 0.7381 MB / 1.494 GB, free: 4.176 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007797/0.7032, allocations: 2.532 MB / 1.496 GB, free: 1.637 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.7073, allocations: 1.285 MB / 1.498 GB, free: 360 kB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00539/0.7127, allocations: 2.992 MB / 1.501 GB, free: 13.35 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.7141, allocations: 0.7055 MB / 1.501 GB, free: 12.62 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.7165, allocations: 1.067 MB / 1.502 GB, free: 11.55 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.7192, allocations: 1.035 MB / 1.503 GB, free: 10.52 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.7194, allocations: 108 kB / 1.503 GB, free: 10.42 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005573/0.725, allocations: 2.307 MB / 1.506 GB, free: 8.105 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007129/0.7257, allocations: 466.6 kB / 1.506 GB, free: 7.648 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.7269, allocations: 0.665 MB / 1.507 GB, free: 6.98 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005592/0.7324, allocations: 2.41 MB / 1.509 GB, free: 4.562 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7325, allocations: 0 / 1.509 GB, free: 4.562 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7325, allocations: 0 / 1.509 GB, free: 4.562 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.228e-05/0.7325, allocations: 0 / 1.509 GB, free: 4.562 MB / 1.201 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.003848/0.7363, allocations: 1.597 MB / 1.511 GB, free: 2.93 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.7364, allocations: 12.03 kB / 1.511 GB, free: 2.918 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/0.7389, allocations: 374.9 kB / 1.511 GB, free: 2.551 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.7406, allocations: 0.7915 MB / 1.512 GB, free: 1.734 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-05/0.7407, allocations: 65.94 kB / 1.512 GB, free: 1.668 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.7408, allocations: 84 kB / 1.512 GB, free: 1.586 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.7427, allocations: 1.045 MB / 1.513 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.7427, allocations: 0 / 1.513 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/0.7428, allocations: 36 kB / 1.513 GB, free: 484 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/0.7429, allocations: 41.98 kB / 1.513 GB, free: 440 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.7445, allocations: 0.8861 MB / 1.514 GB, free: 15.55 MB / 1.217 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.005787/0.7503, allocations: 4.254 MB / 1.518 GB, free: 10.94 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.7515, allocations: 0.6711 MB / 1.519 GB, free: 10.26 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008155/0.7523, allocations: 431.2 kB / 1.519 GB, free: 9.836 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004112/0.7527, allocations: 80.53 kB / 1.519 GB, free: 9.758 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.7528, allocations: 39.22 kB / 1.519 GB, free: 9.711 MB / 1.217 GB Notification: Performance of pre-optimization done (n=70): time 2.925e-06/0.7528, allocations: 0 / 1.519 GB, free: 9.711 MB / 1.217 GB Notification: Performance of matching and sorting (n=70): time 0.002105/0.7549, allocations: 1.001 MB / 1.52 GB, free: 8.703 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.7549, allocations: 60.06 kB / 1.52 GB, free: 8.633 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008782/0.7558, allocations: 0.6334 MB / 1.521 GB, free: 7.992 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.435e-05/0.7559, allocations: 37.7 kB / 1.521 GB, free: 7.949 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/0.7563, allocations: 436.8 kB / 1.521 GB, free: 7.516 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/0.7566, allocations: 269.7 kB / 1.522 GB, free: 7.25 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.7568, allocations: 110.3 kB / 1.522 GB, free: 7.137 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002375/0.7571, allocations: 398.7 kB / 1.522 GB, free: 6.738 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.7575, allocations: 277.2 kB / 1.522 GB, free: 6.469 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.7581, allocations: 357 kB / 1.523 GB, free: 6.098 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.7591, allocations: 0.6591 MB / 1.523 GB, free: 5.414 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.7591, allocations: 3.938 kB / 1.523 GB, free: 5.41 MB / 1.217 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00141/0.7606, allocations: 0.8051 MB / 1.524 GB, free: 4.598 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.7606, allocations: 4 kB / 1.524 GB, free: 4.594 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.7606, allocations: 4 kB / 1.524 GB, free: 4.59 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.7606, allocations: 4 kB / 1.524 GB, free: 4.586 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/0.7613, allocations: 143.8 kB / 1.524 GB, free: 4.445 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.7613, allocations: 4 kB / 1.524 GB, free: 4.441 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.762, allocations: 55.55 kB / 1.524 GB, free: 4.387 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.7621, allocations: 28 kB / 1.524 GB, free: 4.359 MB / 1.217 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.0005179/0.7626, allocations: 289.7 kB / 1.525 GB, free: 4.066 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.7628, allocations: 87.48 kB / 1.525 GB, free: 3.98 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.7643, allocations: 0.798 MB / 1.525 GB, free: 3.168 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.7643, allocations: 12 kB / 1.525 GB, free: 3.156 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.7643, allocations: 3.938 kB / 1.525 GB, free: 3.152 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00118/0.7655, allocations: 0.8097 MB / 1.526 GB, free: 2.293 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.7686, allocations: 1.835 MB / 1.528 GB, free: 420 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.7686, allocations: 0 / 1.528 GB, free: 420 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008218/0.7694, allocations: 167.7 kB / 1.528 GB, free: 252 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.7694, allocations: 8 kB / 1.528 GB, free: 244 kB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.7695, allocations: 19.98 kB / 1.528 GB, free: 224 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.7695, allocations: 4 kB / 1.528 GB, free: 220 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7695, allocations: 0 / 1.528 GB, free: 220 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.7714, allocations: 1.21 MB / 1.529 GB, free: 14.99 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/0.7719, allocations: 171.2 kB / 1.53 GB, free: 14.82 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.772, allocations: 16 kB / 1.53 GB, free: 14.8 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006245/0.7726, allocations: 34.42 kB / 1.53 GB, free: 14.77 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.7728, allocations: 44.56 kB / 1.53 GB, free: 14.73 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/0.7728, allocations: 16 kB / 1.53 GB, free: 14.71 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.0006358/0.7734, allocations: 463 kB / 1.53 GB, free: 14.27 MB / 1.233 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7734, allocations: 0 / 1.53 GB, free: 14.27 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.0009604/0.7744, allocations: 335.3 kB / 1.53 GB, free: 13.94 MB / 1.233 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.000382/0.7748, allocations: 195 kB / 1.531 GB, free: 13.74 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.776, allocations: 0.6458 MB / 1.531 GB, free: 13.09 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.776, allocations: 0 / 1.531 GB, free: 13.09 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.0005657/0.7766, allocations: 355.5 kB / 1.532 GB, free: 12.74 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/0.7789, allocations: 0.5439 MB / 1.532 GB, free: 12.21 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00413/0.783, allocations: 2.236 MB / 1.534 GB, free: 9.934 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008315/0.7838, allocations: 1.089 MB / 1.535 GB, free: 8.82 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.7842, allocations: 79.42 kB / 1.535 GB, free: 8.742 MB / 1.233 GB Notification: Performance of SimCode: time 1.232e-06/0.7842, allocations: 0 / 1.535 GB, free: 8.742 MB / 1.233 GB Notification: Performance of Templates: time 0.02941/0.8136, allocations: 15.41 MB / 1.551 GB, free: 9.445 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,volA.T,volOut.T,oriOutBot.v,oriOutTop.v Variables in the result:oriOutBot.v,oriOutTop.v,time,volA.T,volOut.T [Calling sys.exit(0), Time elapsed: 15.71167254599277]