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.001631/0.001631, allocations: 110.2 kB / 19.69 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.002008/0.002008, allocations: 216.9 kB / 23.01 MB, free: 4.566 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.628/1.628, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.417/3.417, allocations: 0.49 GB / 0.7958 GB, free: 33.46 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.00205/0.00205, allocations: 73.23 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4268, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2735/0.7003, allocations: 206.1 MB / 1.528 GB, free: 2.543 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.7143, allocations: 7.452 MB / 1.536 GB, free: 11.07 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.7163, allocations: 51.62 kB / 1.536 GB, free: 11.02 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.7185, allocations: 0.7304 MB / 1.536 GB, free: 10.29 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007862/0.7264, allocations: 2.532 MB / 1.539 GB, free: 7.742 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004146/0.7306, allocations: 1.287 MB / 1.54 GB, free: 6.457 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005514/0.7361, allocations: 2.983 MB / 1.543 GB, free: 3.465 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.7375, allocations: 0.7172 MB / 1.544 GB, free: 2.727 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/0.7404, allocations: 1.188 MB / 1.545 GB, free: 1.535 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/0.7429, allocations: 1.022 MB / 1.546 GB, free: 0.5156 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.7431, allocations: 112 kB / 1.546 GB, free: 416 kB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00532/0.7484, allocations: 2.283 MB / 1.548 GB, free: 14.12 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0006708/0.7491, allocations: 466.5 kB / 1.549 GB, free: 13.66 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.7502, allocations: 0.6651 MB / 1.549 GB, free: 12.99 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005161/0.7553, allocations: 2.41 MB / 1.552 GB, free: 10.57 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.7553, allocations: 4 kB / 1.552 GB, free: 10.57 MB / 1.248 GB Notification: Performance of FrontEnd: time 3.086e-06/0.7554, allocations: 0 / 1.552 GB, free: 10.57 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.81e-05/0.7554, allocations: 0 / 1.552 GB, free: 10.57 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.00371/0.7591, allocations: 1.593 MB / 1.553 GB, free: 8.941 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.7591, allocations: 12.03 kB / 1.553 GB, free: 8.93 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/0.7617, allocations: 378.9 kB / 1.554 GB, free: 8.559 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.7633, allocations: 0.7915 MB / 1.554 GB, free: 7.738 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.7634, allocations: 62 kB / 1.555 GB, free: 7.676 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.7635, allocations: 87.98 kB / 1.555 GB, free: 7.59 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.7654, allocations: 1.042 MB / 1.556 GB, free: 6.516 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.7654, allocations: 4 kB / 1.556 GB, free: 6.512 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/0.7655, allocations: 32 kB / 1.556 GB, free: 6.48 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.691e-05/0.7656, allocations: 49.92 kB / 1.556 GB, free: 6.43 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.7672, allocations: 0.8822 MB / 1.557 GB, free: 5.547 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.006177/0.7733, allocations: 4.329 MB / 1.561 GB, free: 0.8438 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.7747, allocations: 0.6709 MB / 1.561 GB, free: 172 kB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009423/0.7756, allocations: 435.1 kB / 1.562 GB, free: 15.74 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004647/0.7761, allocations: 72.59 kB / 1.562 GB, free: 15.67 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/0.7762, allocations: 47.22 kB / 1.562 GB, free: 15.62 MB / 1.264 GB Notification: Performance of pre-optimization done (n=70): time 3.596e-06/0.7762, allocations: 0 / 1.562 GB, free: 15.62 MB / 1.264 GB Notification: Performance of matching and sorting (n=70): time 0.002363/0.7785, allocations: 1.001 MB / 1.563 GB, free: 14.61 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.7786, allocations: 56.06 kB / 1.563 GB, free: 14.54 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000992/0.7796, allocations: 0.6334 MB / 1.564 GB, free: 13.91 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.972e-05/0.7797, allocations: 37.7 kB / 1.564 GB, free: 13.86 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004453/0.7801, allocations: 444.8 kB / 1.564 GB, free: 13.42 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003798/0.7805, allocations: 265.7 kB / 1.564 GB, free: 13.16 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.7807, allocations: 114.3 kB / 1.564 GB, free: 13.04 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002823/0.781, allocations: 386.7 kB / 1.565 GB, free: 12.66 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005257/0.7815, allocations: 281.1 kB / 1.565 GB, free: 12.38 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/0.7821, allocations: 361 kB / 1.565 GB, free: 12 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.7833, allocations: 0.659 MB / 1.566 GB, free: 11.32 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.7833, allocations: 8 kB / 1.566 GB, free: 11.32 MB / 1.264 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001588/0.7849, allocations: 0.7974 MB / 1.567 GB, free: 10.51 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.7849, allocations: 8 kB / 1.567 GB, free: 10.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.7849, allocations: 0 / 1.567 GB, free: 10.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.988e-05/0.7849, allocations: 7.984 kB / 1.567 GB, free: 10.5 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006836/0.7856, allocations: 139.8 kB / 1.567 GB, free: 10.36 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.7856, allocations: 12.12 kB / 1.567 GB, free: 10.35 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000834/0.7865, allocations: 63.55 kB / 1.567 GB, free: 10.29 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/0.7865, allocations: 20 kB / 1.567 GB, free: 10.27 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.000604/0.7871, allocations: 290.1 kB / 1.567 GB, free: 9.973 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.7873, allocations: 91.42 kB / 1.567 GB, free: 9.883 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.7889, allocations: 0.7903 MB / 1.568 GB, free: 9.082 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.7889, allocations: 8 kB / 1.568 GB, free: 9.074 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.789, allocations: 3.938 kB / 1.568 GB, free: 9.07 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001261/0.7902, allocations: 0.8174 MB / 1.569 GB, free: 8.203 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.7935, allocations: 1.831 MB / 1.571 GB, free: 6.32 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7936, allocations: 0 / 1.571 GB, free: 6.32 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008443/0.7944, allocations: 171.8 kB / 1.571 GB, free: 6.152 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.7944, allocations: 0 / 1.571 GB, free: 6.152 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.515e-05/0.7945, allocations: 16 kB / 1.571 GB, free: 6.137 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/0.7945, allocations: 0 / 1.571 GB, free: 6.137 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.7945, allocations: 3.984 kB / 1.571 GB, free: 6.133 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.7966, allocations: 1.214 MB / 1.572 GB, free: 4.902 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005151/0.7971, allocations: 183.3 kB / 1.572 GB, free: 4.723 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.7972, allocations: 12 kB / 1.572 GB, free: 4.711 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006085/0.7978, allocations: 21.67 kB / 1.572 GB, free: 4.691 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.7979, allocations: 48.56 kB / 1.572 GB, free: 4.645 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/0.798, allocations: 20 kB / 1.572 GB, free: 4.625 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007165/0.7987, allocations: 455 kB / 1.573 GB, free: 4.184 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.7987, allocations: 0 / 1.573 GB, free: 4.184 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001095/0.7998, allocations: 343.3 kB / 1.573 GB, free: 3.848 MB / 1.264 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.0004598/0.8002, allocations: 201 kB / 1.573 GB, free: 3.645 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.8016, allocations: 0.6419 MB / 1.574 GB, free: 3.004 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.8016, allocations: 4.375 kB / 1.574 GB, free: 3 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006288/0.8022, allocations: 351.6 kB / 1.574 GB, free: 2.652 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.8048, allocations: 0.5478 MB / 1.575 GB, free: 2.121 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004877/0.8097, allocations: 2.228 MB / 1.577 GB, free: 15.86 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009637/0.8107, allocations: 1.085 MB / 1.578 GB, free: 14.74 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/0.8111, allocations: 83.42 kB / 1.578 GB, free: 14.66 MB / 1.279 GB Notification: Performance of SimCode: time 1.563e-06/0.8111, allocations: 0 / 1.578 GB, free: 14.66 MB / 1.279 GB Notification: Performance of Templates: time 0.02801/0.8391, allocations: 15.42 MB / 1.593 GB, free: 15.34 MB / 1.295 GB " [Timeout remaining time 299] 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: 15.405261754989624]