Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001607/0.001607, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002223/0.002223, allocations: 212.8 kB / 22.99 MB, free: 4.945 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.421/1.421, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.754/2.754, allocations: 476 MB / 0.7707 GB, free: 4.703 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00213/0.00213, allocations: 73.45 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4045, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2432/0.6477, allocations: 178.8 MB / 1.458 GB, free: 8.488 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01403/0.6618, allocations: 6.915 MB / 1.465 GB, free: 1.559 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.6636, allocations: 47.62 kB / 1.465 GB, free: 1.512 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002506/0.6661, allocations: 0.6642 MB / 1.466 GB, free: 0.8438 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007826/0.674, allocations: 2.514 MB / 1.468 GB, free: 14.32 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.678, allocations: 1.266 MB / 1.47 GB, free: 13.05 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005523/0.6835, allocations: 2.963 MB / 1.472 GB, free: 10.09 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.6849, allocations: 0.7016 MB / 1.473 GB, free: 9.363 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.6872, allocations: 1.082 MB / 1.474 GB, free: 8.277 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002631/0.6899, allocations: 0.9951 MB / 1.475 GB, free: 7.285 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000232/0.6901, allocations: 108 kB / 1.475 GB, free: 7.18 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004718/0.6948, allocations: 1.753 MB / 1.477 GB, free: 5.422 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006544/0.6955, allocations: 466.5 kB / 1.477 GB, free: 4.965 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000953/0.6964, allocations: 0.5563 MB / 1.478 GB, free: 4.406 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004943/0.7014, allocations: 2.356 MB / 1.48 GB, free: 2.043 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.7014, allocations: 0 / 1.48 GB, free: 2.043 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7014, allocations: 0 / 1.48 GB, free: 2.043 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.079e-05/0.7014, allocations: 3.984 kB / 1.48 GB, free: 2.039 MB / 1.17 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.003606/0.705, allocations: 1.582 MB / 1.482 GB, free: 432 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.7051, allocations: 12.03 kB / 1.482 GB, free: 420 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/0.7076, allocations: 382.9 kB / 1.482 GB, free: 36 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.7093, allocations: 0.7876 MB / 1.483 GB, free: 15.22 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.39e-05/0.7094, allocations: 62 kB / 1.483 GB, free: 15.16 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.7095, allocations: 91.94 kB / 1.483 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.7116, allocations: 1.242 MB / 1.484 GB, free: 13.75 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.7116, allocations: 3.984 kB / 1.484 GB, free: 13.74 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-05/0.7117, allocations: 35.98 kB / 1.484 GB, free: 13.71 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.275e-05/0.7118, allocations: 42 kB / 1.484 GB, free: 13.66 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.7134, allocations: 0.8783 MB / 1.485 GB, free: 12.79 MB / 1.186 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.004771/0.7182, allocations: 2.745 MB / 1.488 GB, free: 9.973 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.7195, allocations: 0.663 MB / 1.489 GB, free: 9.301 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008337/0.7203, allocations: 427.2 kB / 1.489 GB, free: 8.883 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003742/0.7207, allocations: 76.59 kB / 1.489 GB, free: 8.809 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.7207, allocations: 43.22 kB / 1.489 GB, free: 8.758 MB / 1.186 GB Notification: Performance of pre-optimization done (n=70): time 3.357e-06/0.7207, allocations: 4 kB / 1.489 GB, free: 8.754 MB / 1.186 GB Notification: Performance of matching and sorting (n=70): time 0.002105/0.7228, allocations: 0.9932 MB / 1.49 GB, free: 7.754 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.7229, allocations: 60.06 kB / 1.49 GB, free: 7.684 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008433/0.7237, allocations: 0.6019 MB / 1.491 GB, free: 7.074 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.7238, allocations: 41.7 kB / 1.491 GB, free: 7.027 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.7242, allocations: 432.8 kB / 1.491 GB, free: 6.598 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/0.7245, allocations: 269.7 kB / 1.491 GB, free: 6.332 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.7248, allocations: 114.3 kB / 1.492 GB, free: 6.215 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002673/0.7251, allocations: 390.7 kB / 1.492 GB, free: 5.824 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.7256, allocations: 269.2 kB / 1.492 GB, free: 5.562 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005644/0.7262, allocations: 361.1 kB / 1.492 GB, free: 5.188 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.7273, allocations: 0.659 MB / 1.493 GB, free: 4.504 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.7273, allocations: 0 / 1.493 GB, free: 4.504 MB / 1.186 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001522/0.7288, allocations: 0.7974 MB / 1.494 GB, free: 3.699 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.7289, allocations: 4 kB / 1.494 GB, free: 3.695 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7289, allocations: 0 / 1.494 GB, free: 3.695 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.7289, allocations: 11.94 kB / 1.494 GB, free: 3.684 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.7296, allocations: 151.7 kB / 1.494 GB, free: 3.535 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.7296, allocations: 7.938 kB / 1.494 GB, free: 3.527 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007729/0.7304, allocations: 47.62 kB / 1.494 GB, free: 3.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/0.7304, allocations: 31.98 kB / 1.494 GB, free: 3.449 MB / 1.186 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.0005177/0.7309, allocations: 289.8 kB / 1.494 GB, free: 3.156 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.7311, allocations: 83.48 kB / 1.494 GB, free: 3.074 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.7326, allocations: 0.79 MB / 1.495 GB, free: 2.27 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.7326, allocations: 4 kB / 1.495 GB, free: 2.266 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.7326, allocations: 4 kB / 1.495 GB, free: 2.262 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001213/0.7338, allocations: 0.8252 MB / 1.496 GB, free: 1.387 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.7368, allocations: 1.559 MB / 1.498 GB, free: 15.79 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.7368, allocations: 0 / 1.498 GB, free: 15.79 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008473/0.7377, allocations: 167.8 kB / 1.498 GB, free: 15.63 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.7377, allocations: 7.938 kB / 1.498 GB, free: 15.62 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/0.7377, allocations: 19.98 kB / 1.498 GB, free: 15.6 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.321e-06/0.7377, allocations: 8 kB / 1.498 GB, free: 15.59 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7377, allocations: 0 / 1.498 GB, free: 15.59 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.7398, allocations: 1.198 MB / 1.499 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/0.7403, allocations: 179.1 kB / 1.499 GB, free: 14.2 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.7404, allocations: 12 kB / 1.499 GB, free: 14.19 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006098/0.741, allocations: 23.92 kB / 1.499 GB, free: 14.17 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.7412, allocations: 48.56 kB / 1.499 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.7412, allocations: 16 kB / 1.499 GB, free: 14.11 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005784/0.7418, allocations: 427 kB / 1.5 GB, free: 13.69 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.7418, allocations: 0 / 1.5 GB, free: 13.69 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009388/0.7427, allocations: 347.3 kB / 1.5 GB, free: 13.35 MB / 1.201 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.0003652/0.7431, allocations: 196.6 kB / 1.5 GB, free: 13.15 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.7443, allocations: 0.6419 MB / 1.501 GB, free: 12.51 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.7444, allocations: 4.375 kB / 1.501 GB, free: 12.5 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000579/0.7449, allocations: 355.6 kB / 1.501 GB, free: 12.16 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.7472, allocations: 0.5129 MB / 1.502 GB, free: 11.66 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.7512, allocations: 2.24 MB / 1.504 GB, free: 9.379 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.7518, allocations: 498.4 kB / 1.504 GB, free: 8.863 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.7521, allocations: 75.44 kB / 1.504 GB, free: 8.789 MB / 1.201 GB Notification: Performance of SimCode: time 9.71e-07/0.7521, allocations: 0 / 1.504 GB, free: 8.789 MB / 1.201 GB Notification: Performance of Templates: time 0.02685/0.779, allocations: 15.46 MB / 1.519 GB, free: 9.426 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.43640915909782]