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.0009532/0.0009532, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0008655/0.0008655, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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 0.9325/0.9325, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.793/1.793, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.411e-05/3.577e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.8015/0.8016, allocations: 178.7 MB / 1.157 GB, free: 8.539 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.8125, allocations: 6.912 MB / 1.163 GB, free: 3.859 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.8138, allocations: 47.88 kB / 1.163 GB, free: 3.836 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.8157, allocations: 0.669 MB / 1.164 GB, free: 3.473 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.006207/0.8219, allocations: 2.578 MB / 1.167 GB, free: 2.062 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003326/0.8253, allocations: 1.291 MB / 1.168 GB, free: 1.371 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004316/0.8296, allocations: 3.005 MB / 1.171 GB, free: 15.95 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.8306, allocations: 0.7097 MB / 1.171 GB, free: 15.61 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.8328, allocations: 1.543 MB / 1.173 GB, free: 14.94 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.8347, allocations: 0.8913 MB / 1.174 GB, free: 14.66 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.8348, allocations: 110.1 kB / 1.174 GB, free: 14.66 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004559/0.8394, allocations: 1.779 MB / 1.176 GB, free: 13.98 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.00056/0.8399, allocations: 493.5 kB / 1.176 GB, free: 13.74 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0005626/0.8405, allocations: 480.8 kB / 1.177 GB, free: 13.55 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.003756/0.8443, allocations: 2.427 MB / 1.179 GB, free: 12.73 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8443, allocations: 0 / 1.179 GB, free: 12.73 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.417e-06/0.8443, allocations: 0 / 1.179 GB, free: 12.73 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.8443, allocations: 0.875 kB / 1.179 GB, free: 12.73 MB / 1.026 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.002519/0.8468, allocations: 1.58 MB / 1.181 GB, free: 11.75 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/0.8469, allocations: 12.16 kB / 1.181 GB, free: 11.75 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.8483, allocations: 381.6 kB / 1.181 GB, free: 11.65 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.8495, allocations: 0.7871 MB / 1.182 GB, free: 11.18 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/0.8496, allocations: 64.25 kB / 1.182 GB, free: 11.15 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.8497, allocations: 87.81 kB / 1.182 GB, free: 11.12 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.8514, allocations: 1.245 MB / 1.183 GB, free: 10.41 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.8514, allocations: 1.375 kB / 1.183 GB, free: 10.41 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.171e-05/0.8515, allocations: 36.81 kB / 1.183 GB, free: 10.38 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.727e-05/0.8515, allocations: 39.64 kB / 1.183 GB, free: 10.38 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.8528, allocations: 0.8782 MB / 1.184 GB, free: 10.08 MB / 1.026 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.003523/0.8564, allocations: 2.74 MB / 1.187 GB, free: 8.379 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.8575, allocations: 0.6664 MB / 1.187 GB, free: 8.086 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000685/0.8581, allocations: 442.8 kB / 1.188 GB, free: 7.93 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/0.8585, allocations: 73.38 kB / 1.188 GB, free: 7.926 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.8585, allocations: 39.97 kB / 1.188 GB, free: 7.879 MB / 1.026 GB Notification: Performance of pre-optimization done (n=70): time 3.096e-06/0.8585, allocations: 4 kB / 1.188 GB, free: 7.875 MB / 1.026 GB Notification: Performance of matching and sorting (n=70): time 0.001664/0.8602, allocations: 0.994 MB / 1.189 GB, free: 7.477 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.8602, allocations: 59.28 kB / 1.189 GB, free: 7.414 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006921/0.8609, allocations: 0.5902 MB / 1.189 GB, free: 7.148 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.861, allocations: 37.89 kB / 1.189 GB, free: 7.109 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.8612, allocations: 445.6 kB / 1.19 GB, free: 6.762 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.8614, allocations: 258.2 kB / 1.19 GB, free: 6.555 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.8616, allocations: 116.3 kB / 1.19 GB, free: 6.488 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003/0.8619, allocations: 390.9 kB / 1.191 GB, free: 6.141 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.8623, allocations: 278.2 kB / 1.191 GB, free: 6.039 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.8627, allocations: 357.1 kB / 1.191 GB, free: 5.867 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008954/0.8636, allocations: 0.6576 MB / 1.192 GB, free: 5.543 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.8636, allocations: 12.94 kB / 1.192 GB, free: 5.531 MB / 1.026 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001116/0.8648, allocations: 0.7941 MB / 1.193 GB, free: 5.188 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.8648, allocations: 5.812 kB / 1.193 GB, free: 5.188 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.8648, allocations: 4.422 kB / 1.193 GB, free: 5.188 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.8648, allocations: 4.812 kB / 1.193 GB, free: 5.188 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.8652, allocations: 143.2 kB / 1.193 GB, free: 5.176 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.8652, allocations: 4.844 kB / 1.193 GB, free: 5.176 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.8656, allocations: 50.33 kB / 1.193 GB, free: 5.141 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.8657, allocations: 21.31 kB / 1.193 GB, free: 5.137 MB / 1.026 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.0003454/0.866, allocations: 293.6 kB / 1.193 GB, free: 4.926 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.8662, allocations: 84.52 kB / 1.193 GB, free: 4.883 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.8672, allocations: 0.7957 MB / 1.194 GB, free: 4.52 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.8672, allocations: 7.312 kB / 1.194 GB, free: 4.52 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.8672, allocations: 0 / 1.194 GB, free: 4.52 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007821/0.868, allocations: 0.8216 MB / 1.195 GB, free: 4.031 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.8698, allocations: 1.579 MB / 1.196 GB, free: 3.25 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.8698, allocations: 0 / 1.196 GB, free: 3.25 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.8703, allocations: 166.6 kB / 1.197 GB, free: 3.238 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.8703, allocations: 6.656 kB / 1.197 GB, free: 3.234 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.8703, allocations: 15.31 kB / 1.197 GB, free: 3.227 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.8703, allocations: 3.594 kB / 1.197 GB, free: 3.227 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.8703, allocations: 3.938 kB / 1.197 GB, free: 3.223 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.8715, allocations: 1.199 MB / 1.198 GB, free: 2.656 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.8718, allocations: 165.4 kB / 1.198 GB, free: 2.562 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.8719, allocations: 14.31 kB / 1.198 GB, free: 2.555 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.8722, allocations: 30.52 kB / 1.198 GB, free: 2.535 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/0.8723, allocations: 44.2 kB / 1.198 GB, free: 2.531 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.8723, allocations: 33.12 kB / 1.198 GB, free: 2.52 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0003151/0.8726, allocations: 430.2 kB / 1.198 GB, free: 2.328 MB / 1.026 GB Notification: Performance of sort global known variables: time 7e-08/0.8726, allocations: 0 / 1.198 GB, free: 2.328 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0006762/0.8733, allocations: 340.6 kB / 1.199 GB, free: 2.262 MB / 1.026 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.0002981/0.8736, allocations: 189.1 kB / 1.199 GB, free: 2.137 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0007344/0.8743, allocations: 0.6513 MB / 1.2 GB, free: 1.906 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8743, allocations: 0 / 1.2 GB, free: 1.906 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.8747, allocations: 351.1 kB / 1.2 GB, free: 1.789 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.8759, allocations: 0.5111 MB / 1.2 GB, free: 1.66 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.8782, allocations: 2.039 MB / 1.202 GB, free: 420 kB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.8785, allocations: 0.4973 MB / 1.203 GB, free: 120 kB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.8787, allocations: 73.62 kB / 1.203 GB, free: 108 kB / 1.026 GB Notification: Performance of SimCode: time 8.52e-07/0.8787, allocations: 0 / 1.203 GB, free: 108 kB / 1.026 GB Notification: Performance of Templates: time 0.01298/0.8917, allocations: 15.62 MB / 1.218 GB, free: 7.961 MB / 1.042 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/jenkins/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: 9.67012491915375]