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.0007569/0.0007569, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007577/0.0007577, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8525/0.8525, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.66/1.66, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.9517 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.814e-05, allocations: 2.281 kB / 0.9517 GB, free: 1.867 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.677/0.677, allocations: 178.6 MB / 1.126 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.009539/0.6866, allocations: 6.912 MB / 1.133 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.688, allocations: 47.56 kB / 1.133 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.6896, allocations: 0.668 MB / 1.134 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.005586/0.6952, allocations: 2.581 MB / 1.136 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002721/0.6979, allocations: 1.287 MB / 1.137 GB, free: 1.602 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003667/0.7016, allocations: 3.014 MB / 1.14 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.7028, allocations: 0.7144 MB / 1.141 GB, free: 15.31 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.7048, allocations: 1.409 MB / 1.142 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/0.7066, allocations: 0.9115 MB / 1.143 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.7068, allocations: 109.7 kB / 1.143 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.7101, allocations: 1.793 MB / 1.145 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0004143/0.7105, allocations: 484.8 kB / 1.146 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005407/0.711, allocations: 493 kB / 1.146 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003231/0.7142, allocations: 2.417 MB / 1.148 GB, free: 10.89 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7142, allocations: 2.625 kB / 1.148 GB, free: 10.89 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7143, allocations: 0 / 1.148 GB, free: 10.89 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.729e-05/0.7143, allocations: 0 / 1.148 GB, free: 10.89 MB / 0.9792 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.002604/0.7169, allocations: 1.579 MB / 1.15 GB, free: 9.727 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.7169, allocations: 10.97 kB / 1.15 GB, free: 9.727 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.7184, allocations: 392.1 kB / 1.15 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.7195, allocations: 0.7787 MB / 1.151 GB, free: 8.961 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.7195, allocations: 59.97 kB / 1.151 GB, free: 8.938 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.7197, allocations: 89.64 kB / 1.151 GB, free: 8.902 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.721, allocations: 1.242 MB / 1.152 GB, free: 8.012 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.721, allocations: 2.938 kB / 1.152 GB, free: 8.012 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.063e-05/0.7211, allocations: 39.77 kB / 1.152 GB, free: 7.98 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.833e-05/0.7211, allocations: 44.98 kB / 1.153 GB, free: 7.973 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.7222, allocations: 0.8738 MB / 1.153 GB, free: 7.535 MB / 0.9792 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.003084/0.7253, allocations: 2.737 MB / 1.156 GB, free: 4.734 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008426/0.7261, allocations: 0.663 MB / 1.157 GB, free: 4.062 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005351/0.7267, allocations: 439.1 kB / 1.157 GB, free: 3.633 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.7269, allocations: 76.59 kB / 1.157 GB, free: 3.559 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.7269, allocations: 51.19 kB / 1.157 GB, free: 3.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=70): time 4.358e-06/0.7269, allocations: 4 kB / 1.157 GB, free: 3.496 MB / 0.9792 GB Notification: Performance of matching and sorting (n=70): time 0.00132/0.7283, allocations: 0.9932 MB / 1.158 GB, free: 2.496 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.7283, allocations: 64 kB / 1.158 GB, free: 2.422 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.7288, allocations: 0.5941 MB / 1.159 GB, free: 1.816 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.7289, allocations: 37.7 kB / 1.159 GB, free: 1.773 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.7291, allocations: 432.8 kB / 1.159 GB, free: 1.344 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.7294, allocations: 265.7 kB / 1.16 GB, free: 1.082 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.7295, allocations: 114.3 kB / 1.16 GB, free: 0.9648 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7296, allocations: 390.8 kB / 1.16 GB, free: 0.5742 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.7299, allocations: 277.2 kB / 1.16 GB, free: 308 kB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.7303, allocations: 357.1 kB / 1.161 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.731, allocations: 0.6629 MB / 1.161 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.731, allocations: 11.94 kB / 1.161 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009322/0.732, allocations: 0.7896 MB / 1.162 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.732, allocations: 4 kB / 1.162 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.732, allocations: 0 / 1.162 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.732, allocations: 8 kB / 1.162 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.7324, allocations: 139.8 kB / 1.162 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.7324, allocations: 6.453 kB / 1.162 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.7329, allocations: 59.59 kB / 1.162 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.7329, allocations: 20 kB / 1.162 GB, free: 14.21 MB / 0.9948 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.0003702/0.7333, allocations: 293.6 kB / 1.163 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-05/0.7334, allocations: 84.3 kB / 1.163 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009605/0.7343, allocations: 0.79 MB / 1.163 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.7343, allocations: 4 kB / 1.163 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.7343, allocations: 0 / 1.163 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007447/0.7351, allocations: 0.8213 MB / 1.164 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.7369, allocations: 1.566 MB / 1.166 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.7369, allocations: 0 / 1.166 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004525/0.7373, allocations: 170.2 kB / 1.166 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.7374, allocations: 8 kB / 1.166 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.7374, allocations: 16 kB / 1.166 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.7374, allocations: 4 kB / 1.166 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.7374, allocations: 7.875 kB / 1.166 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.7387, allocations: 1.194 MB / 1.167 GB, free: 9.141 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.739, allocations: 171.2 kB / 1.167 GB, free: 8.973 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.739, allocations: 16 kB / 1.167 GB, free: 8.957 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.7393, allocations: 25.42 kB / 1.167 GB, free: 8.934 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/0.7394, allocations: 44.56 kB / 1.167 GB, free: 8.891 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.7395, allocations: 31.98 kB / 1.167 GB, free: 8.859 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003645/0.7398, allocations: 423 kB / 1.168 GB, free: 8.453 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.7398, allocations: 0 / 1.168 GB, free: 8.453 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007971/0.7406, allocations: 335.3 kB / 1.168 GB, free: 8.125 MB / 0.9948 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.000397/0.741, allocations: 199 kB / 1.168 GB, free: 7.922 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0008954/0.7419, allocations: 0.6574 MB / 1.169 GB, free: 7.266 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7419, allocations: 0 / 1.169 GB, free: 7.266 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.7423, allocations: 347.6 kB / 1.169 GB, free: 6.926 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.7437, allocations: 0.5119 MB / 1.17 GB, free: 6.434 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.7468, allocations: 2.04 MB / 1.172 GB, free: 4.359 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.7472, allocations: 0.4985 MB / 1.172 GB, free: 3.828 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.7474, allocations: 80.48 kB / 1.172 GB, free: 3.746 MB / 0.9948 GB Notification: Performance of SimCode: time 1.453e-06/0.7474, allocations: 0 / 1.172 GB, free: 3.746 MB / 0.9948 GB Notification: Performance of Templates: time 0.02199/0.7694, allocations: 15.61 MB / 1.188 GB, free: 4.238 MB / 1.01 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/jenkins/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: 9.15417571272701]