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.001495/0.001495, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001655/0.001655, allocations: 219.8 kB / 23.05 MB, free: 4.844 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.681/1.681, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.578/3.578, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.002133/0.002133, allocations: 70.27 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5448/0.5469, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.27/0.8169, allocations: 178.9 MB / 1.502 GB, free: 13.43 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0135/0.8304, allocations: 6.933 MB / 1.509 GB, free: 6.477 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.8323, allocations: 51.56 kB / 1.509 GB, free: 6.426 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.8344, allocations: 0.6563 MB / 1.509 GB, free: 5.766 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007735/0.8421, allocations: 2.527 MB / 1.512 GB, free: 3.23 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.8461, allocations: 1.258 MB / 1.513 GB, free: 1.973 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005318/0.8514, allocations: 2.961 MB / 1.516 GB, free: 15 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.8528, allocations: 0.6977 MB / 1.517 GB, free: 14.28 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.8557, allocations: 1.199 MB / 1.518 GB, free: 13.08 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.8583, allocations: 0.9762 MB / 1.519 GB, free: 12.1 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.8585, allocations: 111.9 kB / 1.519 GB, free: 11.99 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004535/0.8631, allocations: 1.745 MB / 1.52 GB, free: 10.24 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000658/0.8637, allocations: 466.6 kB / 1.521 GB, free: 9.785 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0009468/0.8647, allocations: 0.5485 MB / 1.521 GB, free: 9.234 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004714/0.8694, allocations: 2.363 MB / 1.524 GB, free: 6.863 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8694, allocations: 0 / 1.524 GB, free: 6.863 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8694, allocations: 0 / 1.524 GB, free: 6.863 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.8694, allocations: 0 / 1.524 GB, free: 6.863 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.003296/0.8727, allocations: 1.589 MB / 1.525 GB, free: 5.238 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.8728, allocations: 12.03 kB / 1.525 GB, free: 5.227 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/0.8752, allocations: 382.9 kB / 1.526 GB, free: 4.852 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.8767, allocations: 0.7876 MB / 1.526 GB, free: 4.035 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.406e-05/0.8767, allocations: 61.94 kB / 1.527 GB, free: 3.973 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.8769, allocations: 87.98 kB / 1.527 GB, free: 3.887 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.8788, allocations: 1.239 MB / 1.528 GB, free: 2.566 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.8789, allocations: 0 / 1.528 GB, free: 2.566 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.731e-05/0.879, allocations: 39.98 kB / 1.528 GB, free: 2.527 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.848e-05/0.879, allocations: 45.98 kB / 1.528 GB, free: 2.48 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.8805, allocations: 0.8783 MB / 1.529 GB, free: 1.602 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.004734/0.8853, allocations: 2.753 MB / 1.531 GB, free: 14.78 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.8865, allocations: 0.6597 MB / 1.532 GB, free: 14.11 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008036/0.8873, allocations: 435.2 kB / 1.532 GB, free: 13.68 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/0.8876, allocations: 72.59 kB / 1.533 GB, free: 13.61 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/0.8877, allocations: 47.22 kB / 1.533 GB, free: 13.55 MB / 1.232 GB Notification: Performance of pre-optimization done (n=70): time 4.338e-06/0.8877, allocations: 4 kB / 1.533 GB, free: 13.55 MB / 1.232 GB Notification: Performance of matching and sorting (n=70): time 0.002015/0.8897, allocations: 0.9894 MB / 1.534 GB, free: 12.55 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.8897, allocations: 56.06 kB / 1.534 GB, free: 12.49 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007658/0.8905, allocations: 0.598 MB / 1.534 GB, free: 11.89 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.649e-05/0.8906, allocations: 37.7 kB / 1.534 GB, free: 11.84 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.8909, allocations: 436.8 kB / 1.535 GB, free: 11.41 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.8912, allocations: 269.6 kB / 1.535 GB, free: 11.14 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.8914, allocations: 122.2 kB / 1.535 GB, free: 11.02 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002356/0.8917, allocations: 390.7 kB / 1.535 GB, free: 10.63 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.8921, allocations: 277.2 kB / 1.536 GB, free: 10.36 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/0.8927, allocations: 357.1 kB / 1.536 GB, free: 9.984 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.8937, allocations: 0.6552 MB / 1.537 GB, free: 9.312 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.8937, allocations: 0 / 1.537 GB, free: 9.312 MB / 1.232 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00137/0.8951, allocations: 0.7974 MB / 1.537 GB, free: 8.508 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.8951, allocations: 5.875 kB / 1.537 GB, free: 8.504 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.8951, allocations: 0 / 1.537 GB, free: 8.504 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.8952, allocations: 11.94 kB / 1.537 GB, free: 8.492 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/0.8958, allocations: 147.8 kB / 1.538 GB, free: 8.348 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.8958, allocations: 4 kB / 1.538 GB, free: 8.344 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006759/0.8965, allocations: 51.81 kB / 1.538 GB, free: 8.293 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/0.8965, allocations: 27.98 kB / 1.538 GB, free: 8.266 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.0004912/0.897, allocations: 290.1 kB / 1.538 GB, free: 7.973 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.8972, allocations: 83.48 kB / 1.538 GB, free: 7.891 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.8986, allocations: 0.7977 MB / 1.539 GB, free: 7.078 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.8986, allocations: 4 kB / 1.539 GB, free: 7.074 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.8987, allocations: 0 / 1.539 GB, free: 7.074 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/0.8998, allocations: 0.8213 MB / 1.54 GB, free: 6.203 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.9024, allocations: 1.563 MB / 1.541 GB, free: 4.605 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9024, allocations: 0 / 1.541 GB, free: 4.605 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/0.9032, allocations: 167.8 kB / 1.541 GB, free: 4.441 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.9032, allocations: 11.94 kB / 1.541 GB, free: 4.43 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.9033, allocations: 19.98 kB / 1.541 GB, free: 4.41 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.9033, allocations: 4 kB / 1.541 GB, free: 4.406 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9033, allocations: 0 / 1.541 GB, free: 4.406 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.9051, allocations: 1.194 MB / 1.542 GB, free: 3.191 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.9056, allocations: 175.1 kB / 1.543 GB, free: 3.02 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.9057, allocations: 19.94 kB / 1.543 GB, free: 3 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005682/0.9062, allocations: 21.11 kB / 1.543 GB, free: 2.98 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.9064, allocations: 48.56 kB / 1.543 GB, free: 2.934 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/0.9064, allocations: 27.94 kB / 1.543 GB, free: 2.906 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006449/0.9071, allocations: 423 kB / 1.543 GB, free: 2.496 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.9071, allocations: 0 / 1.543 GB, free: 2.496 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001137/0.9082, allocations: 343.3 kB / 1.544 GB, free: 2.16 MB / 1.232 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.0004813/0.9087, allocations: 195.1 kB / 1.544 GB, free: 1.961 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.91, allocations: 0.642 MB / 1.544 GB, free: 1.32 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.91, allocations: 4 kB / 1.544 GB, free: 1.316 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.9105, allocations: 351.5 kB / 1.545 GB, free: 0.9727 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/0.9128, allocations: 0.5237 MB / 1.545 GB, free: 480 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.9173, allocations: 2.24 MB / 1.547 GB, free: 14.19 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.9179, allocations: 494.5 kB / 1.548 GB, free: 13.67 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.9182, allocations: 83.42 kB / 1.548 GB, free: 13.59 MB / 1.248 GB Notification: Performance of SimCode: time 1.382e-06/0.9182, allocations: 0 / 1.548 GB, free: 13.59 MB / 1.248 GB Notification: Performance of Templates: time 0.02792/0.9461, allocations: 15.45 MB / 1.563 GB, free: 14.23 MB / 1.264 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: 16.000795148080215]