Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001841/0.001841, allocations: 111.5 kB / 17.13 MB, free: 6.008 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.00224/0.00224, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.64/1.64, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.001/3.001, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00208/0.00208, allocations: 78.02 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256/1.258, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.3081/1.566, allocations: 205.7 MB / 1.523 GB, free: 11.42 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01327/1.579, allocations: 7.416 MB / 1.53 GB, free: 3.984 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/1.581, allocations: 51.62 kB / 1.53 GB, free: 3.934 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002113/1.583, allocations: 0.7342 MB / 1.531 GB, free: 3.195 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007605/1.591, allocations: 2.489 MB / 1.533 GB, free: 0.6953 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003837/1.595, allocations: 1.251 MB / 1.535 GB, free: 15.45 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005359/1.6, allocations: 2.905 MB / 1.537 GB, free: 12.54 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/1.601, allocations: 0.7791 MB / 1.538 GB, free: 11.73 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/1.604, allocations: 1.191 MB / 1.539 GB, free: 10.54 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002128/1.606, allocations: 1.009 MB / 1.54 GB, free: 9.531 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001782/1.606, allocations: 108 kB / 1.54 GB, free: 9.426 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00548/1.611, allocations: 2.252 MB / 1.543 GB, free: 7.168 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006182/1.612, allocations: 458.6 kB / 1.543 GB, free: 6.719 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0009211/1.613, allocations: 0.6728 MB / 1.544 GB, free: 6.043 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005293/1.618, allocations: 2.417 MB / 1.546 GB, free: 3.621 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/1.618, allocations: 0 / 1.546 GB, free: 3.621 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.607e-06/1.618, allocations: 0 / 1.546 GB, free: 3.621 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.475e-05/1.618, allocations: 4 kB / 1.546 GB, free: 3.617 MB / 1.217 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.003922/1.622, allocations: 1.665 MB / 1.548 GB, free: 1.898 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/1.622, allocations: 19.98 kB / 1.548 GB, free: 1.879 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/1.625, allocations: 374.9 kB / 1.548 GB, free: 1.512 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/1.626, allocations: 0.8637 MB / 1.549 GB, free: 0.6055 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/1.626, allocations: 62 kB / 1.549 GB, free: 0.543 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/1.627, allocations: 87.98 kB / 1.549 GB, free: 468 kB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/1.629, allocations: 1.042 MB / 1.55 GB, free: 15.38 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/1.629, allocations: 4 kB / 1.55 GB, free: 15.38 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.926e-05/1.629, allocations: 36 kB / 1.55 GB, free: 15.34 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.985e-05/1.629, allocations: 45.97 kB / 1.55 GB, free: 15.29 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/1.63, allocations: 0.8783 MB / 1.551 GB, free: 14.41 MB / 1.232 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.006118/1.637, allocations: 4.391 MB / 1.555 GB, free: 9.652 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/1.638, allocations: 0.6591 MB / 1.556 GB, free: 8.984 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008864/1.639, allocations: 442.8 kB / 1.556 GB, free: 8.551 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008508/1.64, allocations: 0.677 MB / 1.557 GB, free: 7.727 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/1.64, allocations: 43.12 kB / 1.557 GB, free: 7.676 MB / 1.232 GB Notification: Performance of pre-optimization done (n=70): time 3.397e-06/1.64, allocations: 0 / 1.557 GB, free: 7.676 MB / 1.232 GB Notification: Performance of matching and sorting (n=70): time 0.002203/1.642, allocations: 0.9866 MB / 1.558 GB, free: 6.688 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/1.642, allocations: 63.97 kB / 1.558 GB, free: 6.613 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000886/1.643, allocations: 0.6334 MB / 1.559 GB, free: 5.977 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.426e-05/1.643, allocations: 41.7 kB / 1.559 GB, free: 5.93 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000401/1.643, allocations: 440.8 kB / 1.559 GB, free: 5.492 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/1.644, allocations: 261.7 kB / 1.559 GB, free: 5.234 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/1.644, allocations: 118.3 kB / 1.559 GB, free: 5.113 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002461/1.644, allocations: 390.7 kB / 1.56 GB, free: 4.723 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000533/1.645, allocations: 281.2 kB / 1.56 GB, free: 4.445 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/1.645, allocations: 361 kB / 1.56 GB, free: 4.074 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/1.646, allocations: 0.6626 MB / 1.561 GB, free: 3.387 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.646, allocations: 0 / 1.561 GB, free: 3.387 MB / 1.232 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001431/1.648, allocations: 0.7973 MB / 1.562 GB, free: 2.582 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.648, allocations: 8.188 kB / 1.562 GB, free: 2.574 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.648, allocations: 4 kB / 1.562 GB, free: 2.57 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/1.648, allocations: 4 kB / 1.562 GB, free: 2.566 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/1.648, allocations: 139.8 kB / 1.562 GB, free: 2.43 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/1.648, allocations: 7.938 kB / 1.562 GB, free: 2.422 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007767/1.649, allocations: 63.48 kB / 1.562 GB, free: 2.359 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/1.649, allocations: 27.94 kB / 1.562 GB, free: 2.332 MB / 1.232 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.0005045/1.65, allocations: 281.6 kB / 1.562 GB, free: 2.047 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/1.65, allocations: 91.48 kB / 1.562 GB, free: 1.957 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/1.652, allocations: 0.7997 MB / 1.563 GB, free: 1.137 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/1.652, allocations: 8 kB / 1.563 GB, free: 1.129 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.652, allocations: 3.938 kB / 1.563 GB, free: 1.125 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001213/1.653, allocations: 0.8153 MB / 1.564 GB, free: 272 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002948/1.656, allocations: 1.849 MB / 1.566 GB, free: 14.36 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.656, allocations: 0 / 1.566 GB, free: 14.36 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008464/1.657, allocations: 171.8 kB / 1.566 GB, free: 14.19 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.705e-05/1.657, allocations: 4 kB / 1.566 GB, free: 14.19 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/1.657, allocations: 15.98 kB / 1.566 GB, free: 14.17 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/1.657, allocations: 12 kB / 1.566 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.657, allocations: 3.984 kB / 1.566 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/1.659, allocations: 1.195 MB / 1.567 GB, free: 12.95 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/1.659, allocations: 248.4 kB / 1.567 GB, free: 12.68 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/1.659, allocations: 19.98 kB / 1.568 GB, free: 12.66 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/1.66, allocations: 19.94 kB / 1.568 GB, free: 12.64 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.66, allocations: 52.44 kB / 1.568 GB, free: 12.59 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/1.66, allocations: 23.98 kB / 1.568 GB, free: 12.57 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006101/1.661, allocations: 455 kB / 1.568 GB, free: 12.13 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/1.661, allocations: 0 / 1.568 GB, free: 12.13 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009497/1.662, allocations: 339.4 kB / 1.568 GB, free: 11.8 MB / 1.248 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.0003902/1.662, allocations: 203 kB / 1.569 GB, free: 11.59 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001215/1.663, allocations: 0.6405 MB / 1.569 GB, free: 10.95 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.663, allocations: 0 / 1.569 GB, free: 10.95 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005814/1.664, allocations: 359 kB / 1.57 GB, free: 10.6 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/1.666, allocations: 0.547 MB / 1.57 GB, free: 10.07 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/1.67, allocations: 2.229 MB / 1.572 GB, free: 7.801 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007911/1.671, allocations: 1.089 MB / 1.573 GB, free: 6.688 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/1.671, allocations: 79.42 kB / 1.573 GB, free: 6.609 MB / 1.248 GB Notification: Performance of SimCode: time 7.72e-07/1.671, allocations: 0 / 1.573 GB, free: 6.609 MB / 1.248 GB Notification: Performance of Templates: time 0.02603/1.697, allocations: 15.42 MB / 1.588 GB, free: 7.301 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.425027093995595]