Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.744/2.744, allocations: 437.1 MB / 0.7177 GB, free: 4.809 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 68.03 kB / 1.028 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2935, allocations: 151.6 MB / 1.176 GB, free: 5.969 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.8163/1.11, allocations: 202 MB / 1.373 GB, free: 10.18 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01187/1.122, allocations: 7.392 MB / 1.38 GB, free: 4.926 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/1.124, allocations: 40.03 kB / 1.38 GB, free: 4.91 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/1.126, allocations: 0.6956 MB / 1.381 GB, free: 4.52 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006588/1.132, allocations: 2.409 MB / 1.383 GB, free: 2.859 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/1.136, allocations: 1.237 MB / 1.385 GB, free: 1.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004608/1.141, allocations: 2.905 MB / 1.387 GB, free: 256 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/1.142, allocations: 0.9541 MB / 1.388 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/1.144, allocations: 1.017 MB / 1.389 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00236/1.147, allocations: 0.9605 MB / 1.39 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001965/1.147, allocations: 114.4 kB / 1.39 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00465/1.151, allocations: 2.122 MB / 1.392 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005854/1.152, allocations: 459.1 kB / 1.393 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001023/1.153, allocations: 0.6637 MB / 1.394 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004985/1.158, allocations: 2.412 MB / 1.396 GB, free: 11.1 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.158, allocations: 0 / 1.396 GB, free: 11.1 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.054e-06/1.158, allocations: 4 kB / 1.396 GB, free: 11.09 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.25e-05/1.158, allocations: 0 / 1.396 GB, free: 11.09 MB / 1.061 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.003406/1.162, allocations: 1.667 MB / 1.398 GB, free: 9.836 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/1.162, allocations: 10.5 kB / 1.398 GB, free: 9.836 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/1.164, allocations: 375.7 kB / 1.398 GB, free: 9.664 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/1.166, allocations: 0.8539 MB / 1.399 GB, free: 8.996 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/1.166, allocations: 69.2 kB / 1.399 GB, free: 8.961 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/1.166, allocations: 83.69 kB / 1.399 GB, free: 8.934 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/1.167, allocations: 1.047 MB / 1.4 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/1.167, allocations: 4 kB / 1.4 GB, free: 8.285 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/1.168, allocations: 31.5 kB / 1.4 GB, free: 8.262 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-05/1.168, allocations: 51.42 kB / 1.4 GB, free: 8.246 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/1.169, allocations: 0.8749 MB / 1.401 GB, free: 7.812 MB / 1.061 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.005226/1.174, allocations: 4.313 MB / 1.405 GB, free: 3.969 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/1.175, allocations: 0.6892 MB / 1.406 GB, free: 3.598 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007925/1.176, allocations: 474.7 kB / 1.406 GB, free: 3.363 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006904/1.177, allocations: 0.6691 MB / 1.407 GB, free: 2.594 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/1.177, allocations: 46 kB / 1.407 GB, free: 2.543 MB / 1.061 GB Notification: Performance of pre-optimization done (n=70): time 2.444e-06/1.177, allocations: 0 / 1.407 GB, free: 2.543 MB / 1.061 GB Notification: Performance of matching and sorting (n=70): time 0.00194/1.179, allocations: 0.9896 MB / 1.408 GB, free: 2.055 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/1.179, allocations: 63.34 kB / 1.408 GB, free: 1.988 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/1.18, allocations: 0.6349 MB / 1.409 GB, free: 1.625 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/1.18, allocations: 44.58 kB / 1.409 GB, free: 1.578 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/1.18, allocations: 437 kB / 1.409 GB, free: 1.195 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/1.181, allocations: 260.5 kB / 1.409 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/1.181, allocations: 116.5 kB / 1.409 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002075/1.181, allocations: 392.2 kB / 1.41 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/1.181, allocations: 280.2 kB / 1.41 GB, free: 388 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/1.182, allocations: 357.6 kB / 1.41 GB, free: 164 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/1.183, allocations: 0.6601 MB / 1.411 GB, free: 15.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/1.183, allocations: 0 / 1.411 GB, free: 15.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001291/1.184, allocations: 0.795 MB / 1.412 GB, free: 15.37 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.184, allocations: 5.938 kB / 1.412 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.184, allocations: 2.312 kB / 1.412 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.184, allocations: 4.406 kB / 1.412 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006153/1.185, allocations: 145.1 kB / 1.412 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/1.185, allocations: 7.359 kB / 1.412 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000735/1.186, allocations: 60.14 kB / 1.412 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/1.186, allocations: 22.16 kB / 1.412 GB, free: 15.29 MB / 1.076 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.0004581/1.186, allocations: 295.9 kB / 1.412 GB, free: 15.05 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/1.186, allocations: 89.94 kB / 1.412 GB, free: 15.01 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/1.188, allocations: 0.7946 MB / 1.413 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/1.188, allocations: 11.31 kB / 1.413 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.188, allocations: 0 / 1.413 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/1.189, allocations: 0.814 MB / 1.414 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/1.192, allocations: 1.857 MB / 1.416 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/1.192, allocations: 8.859 kB / 1.416 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007839/1.193, allocations: 167.2 kB / 1.416 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/1.193, allocations: 2.781 kB / 1.416 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/1.193, allocations: 16.7 kB / 1.416 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/1.193, allocations: 2 kB / 1.416 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.193, allocations: 0 / 1.416 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/1.194, allocations: 1.199 MB / 1.417 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/1.195, allocations: 252.1 kB / 1.417 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/1.195, allocations: 15.25 kB / 1.417 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006051/1.196, allocations: 25.38 kB / 1.417 GB, free: 11.78 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.196, allocations: 49.23 kB / 1.417 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/1.196, allocations: 18.47 kB / 1.417 GB, free: 11.75 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006111/1.196, allocations: 461.7 kB / 1.418 GB, free: 11.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.244e-06/1.196, allocations: 0 / 1.418 GB, free: 11.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008639/1.197, allocations: 339.3 kB / 1.418 GB, free: 10.99 MB / 1.076 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.000352/1.198, allocations: 195.1 kB / 1.418 GB, free: 10.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001259/1.199, allocations: 0.6798 MB / 1.419 GB, free: 10.1 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.199, allocations: 4.125 kB / 1.419 GB, free: 10.1 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005724/1.199, allocations: 375 kB / 1.419 GB, free: 9.734 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/1.202, allocations: 0.5499 MB / 1.42 GB, free: 9.203 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/1.206, allocations: 2.246 MB / 1.422 GB, free: 6.918 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008895/1.207, allocations: 1.089 MB / 1.423 GB, free: 5.801 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/1.207, allocations: 79.42 kB / 1.423 GB, free: 5.723 MB / 1.076 GB Notification: Performance of SimCode: time 8.01e-07/1.207, allocations: 0 / 1.423 GB, free: 5.723 MB / 1.076 GB Notification: Performance of Templates: time 0.02614/1.233, allocations: 15.32 MB / 1.438 GB, free: 6.52 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 13.954901771969162]