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.001424/0.001424, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001434/0.001434, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.493/1.493, allocations: 225.6 MB / 248.5 MB, free: 3.602 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.613/2.613, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 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.002172/0.002172, allocations: 72.12 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3298, allocations: 160.7 MB / 1.214 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.9308/1.261, allocations: 202.7 MB / 1.412 GB, free: 15.93 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0128/1.273, allocations: 7.406 MB / 1.419 GB, free: 9.906 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/1.275, allocations: 39.78 kB / 1.419 GB, free: 9.891 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002112/1.277, allocations: 0.7265 MB / 1.42 GB, free: 9.305 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00664/1.284, allocations: 2.482 MB / 1.422 GB, free: 7.406 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00353/1.288, allocations: 1.249 MB / 1.424 GB, free: 6.449 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004587/1.292, allocations: 2.911 MB / 1.426 GB, free: 4.785 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/1.294, allocations: 0.7906 MB / 1.427 GB, free: 4.246 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/1.296, allocations: 1.053 MB / 1.428 GB, free: 3.648 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002176/1.298, allocations: 1.027 MB / 1.429 GB, free: 3.035 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/1.298, allocations: 114.9 kB / 1.429 GB, free: 3.031 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004622/1.303, allocations: 2.258 MB / 1.432 GB, free: 1.754 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005495/1.303, allocations: 459.8 kB / 1.432 GB, free: 1.438 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009135/1.304, allocations: 0.6707 MB / 1.433 GB, free: 1.012 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004349/1.308, allocations: 2.414 MB / 1.435 GB, free: 14.85 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/1.308, allocations: 0 / 1.435 GB, free: 14.85 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.834e-06/1.308, allocations: 4 kB / 1.435 GB, free: 14.84 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.582e-05/1.308, allocations: 0 / 1.435 GB, free: 14.84 MB / 1.107 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.003433/1.312, allocations: 1.667 MB / 1.437 GB, free: 13.12 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.312, allocations: 12.03 kB / 1.437 GB, free: 13.11 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/1.314, allocations: 374.9 kB / 1.437 GB, free: 12.75 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/1.316, allocations: 0.8482 MB / 1.438 GB, free: 11.86 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/1.316, allocations: 74.48 kB / 1.438 GB, free: 11.78 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/1.316, allocations: 84 kB / 1.438 GB, free: 11.7 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/1.318, allocations: 1.042 MB / 1.439 GB, free: 10.62 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/1.318, allocations: 11.89 kB / 1.439 GB, free: 10.61 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.181e-05/1.318, allocations: 32 kB / 1.439 GB, free: 10.58 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-05/1.318, allocations: 53.92 kB / 1.439 GB, free: 10.53 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/1.32, allocations: 0.8822 MB / 1.44 GB, free: 9.645 MB / 1.107 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.005335/1.325, allocations: 4.293 MB / 1.444 GB, free: 4.996 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/1.326, allocations: 0.663 MB / 1.445 GB, free: 4.324 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008378/1.327, allocations: 437.7 kB / 1.445 GB, free: 3.898 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007366/1.328, allocations: 0.6771 MB / 1.446 GB, free: 3.074 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/1.328, allocations: 47.06 kB / 1.446 GB, free: 3.02 MB / 1.107 GB Notification: Performance of pre-optimization done (n=70): time 2.956e-06/1.328, allocations: 0 / 1.446 GB, free: 3.02 MB / 1.107 GB Notification: Performance of matching and sorting (n=70): time 0.002034/1.33, allocations: 0.9905 MB / 1.447 GB, free: 2.027 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/1.33, allocations: 59.97 kB / 1.447 GB, free: 1.957 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008077/1.331, allocations: 0.6372 MB / 1.448 GB, free: 1.316 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/1.331, allocations: 37.7 kB / 1.448 GB, free: 1.273 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/1.331, allocations: 436.9 kB / 1.448 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/1.332, allocations: 261.7 kB / 1.448 GB, free: 0.582 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/1.332, allocations: 126.2 kB / 1.448 GB, free: 460 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002214/1.332, allocations: 390.7 kB / 1.449 GB, free: 60 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005063/1.332, allocations: 273.2 kB / 1.449 GB, free: 15.79 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/1.333, allocations: 365 kB / 1.449 GB, free: 15.41 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/1.334, allocations: 0.6587 MB / 1.45 GB, free: 14.73 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.334, allocations: 0 / 1.45 GB, free: 14.73 MB / 1.123 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001364/1.335, allocations: 0.7935 MB / 1.451 GB, free: 13.93 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.335, allocations: 7.984 kB / 1.451 GB, free: 13.92 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.335, allocations: 4 kB / 1.451 GB, free: 13.92 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/1.336, allocations: 4 kB / 1.451 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/1.336, allocations: 151.9 kB / 1.451 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/1.336, allocations: 4 kB / 1.451 GB, free: 13.76 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007421/1.337, allocations: 55.61 kB / 1.451 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/1.337, allocations: 24 kB / 1.451 GB, free: 13.68 MB / 1.123 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.0004405/1.337, allocations: 285.5 kB / 1.451 GB, free: 13.39 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/1.338, allocations: 95.42 kB / 1.451 GB, free: 13.3 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/1.339, allocations: 0.792 MB / 1.452 GB, free: 12.49 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.339, allocations: 8 kB / 1.452 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.339, allocations: 0 / 1.452 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001173/1.34, allocations: 0.8152 MB / 1.453 GB, free: 11.62 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/1.343, allocations: 1.857 MB / 1.455 GB, free: 9.715 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.343, allocations: 4 kB / 1.455 GB, free: 9.711 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008422/1.344, allocations: 175.7 kB / 1.455 GB, free: 9.539 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/1.344, allocations: 4 kB / 1.455 GB, free: 9.535 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/1.344, allocations: 23.8 kB / 1.455 GB, free: 9.516 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/1.344, allocations: 4 kB / 1.455 GB, free: 9.512 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.344, allocations: 0 / 1.455 GB, free: 9.512 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/1.346, allocations: 1.199 MB / 1.456 GB, free: 8.297 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/1.346, allocations: 248.3 kB / 1.456 GB, free: 8.035 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/1.346, allocations: 15.98 kB / 1.456 GB, free: 8.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/1.347, allocations: 20 kB / 1.456 GB, free: 8 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.347, allocations: 40.5 kB / 1.456 GB, free: 7.961 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/1.347, allocations: 23.98 kB / 1.457 GB, free: 7.938 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005827/1.348, allocations: 455 kB / 1.457 GB, free: 7.496 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.348, allocations: 0 / 1.457 GB, free: 7.496 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009155/1.349, allocations: 343.4 kB / 1.457 GB, free: 7.16 MB / 1.123 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.0003694/1.349, allocations: 200.5 kB / 1.457 GB, free: 6.957 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0012/1.35, allocations: 0.6447 MB / 1.458 GB, free: 6.305 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.35, allocations: 4.062 kB / 1.458 GB, free: 6.301 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005566/1.351, allocations: 355 kB / 1.458 GB, free: 5.957 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/1.353, allocations: 0.5527 MB / 1.459 GB, free: 5.438 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/1.357, allocations: 2.237 MB / 1.461 GB, free: 3.16 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007695/1.358, allocations: 1.089 MB / 1.462 GB, free: 2.043 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/1.358, allocations: 75.44 kB / 1.462 GB, free: 1.969 MB / 1.123 GB Notification: Performance of SimCode: time 5.61e-07/1.358, allocations: 3.938 kB / 1.462 GB, free: 1.965 MB / 1.123 GB Notification: Performance of Templates: time 0.0233/1.381, allocations: 15.43 MB / 1.477 GB, free: 2.66 MB / 1.139 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: 14.129501156043261]