Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 109.9 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 183 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 71.89 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.049, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2868/1.336, allocations: 202 MB / 1.286 GB, free: 3.625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01898/1.355, allocations: 7.402 MB / 1.293 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00376/1.359, allocations: 35.81 kB / 1.293 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003481/1.362, allocations: 0.6875 MB / 1.294 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01195/1.374, allocations: 2.415 MB / 1.296 GB, free: 9.059 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006437/1.381, allocations: 1.234 MB / 1.297 GB, free: 7.824 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007965/1.389, allocations: 2.899 MB / 1.3 GB, free: 4.918 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/1.391, allocations: 0.9508 MB / 1.301 GB, free: 3.949 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003482/1.395, allocations: 1.035 MB / 1.302 GB, free: 2.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003727/1.398, allocations: 0.9723 MB / 1.303 GB, free: 1.941 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003865/1.399, allocations: 111.9 kB / 1.303 GB, free: 1.832 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00556/1.404, allocations: 2.128 MB / 1.305 GB, free: 15.7 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006827/1.405, allocations: 450.7 kB / 1.306 GB, free: 15.26 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/1.406, allocations: 0.6612 MB / 1.306 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005076/1.411, allocations: 2.407 MB / 1.309 GB, free: 12.18 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.411, allocations: 4 kB / 1.309 GB, free: 12.18 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.343e-06/1.411, allocations: 0 / 1.309 GB, free: 12.18 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.602e-05/1.411, allocations: 4 kB / 1.309 GB, free: 12.17 MB / 1.045 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.003259/1.415, allocations: 1.62 MB / 1.31 GB, free: 10.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.415, allocations: 12.03 kB / 1.31 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/1.417, allocations: 378.1 kB / 1.311 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/1.419, allocations: 0.8435 MB / 1.311 GB, free: 9.227 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/1.419, allocations: 65.94 kB / 1.312 GB, free: 9.164 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/1.419, allocations: 88 kB / 1.312 GB, free: 9.078 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/1.42, allocations: 1.042 MB / 1.313 GB, free: 8 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/1.42, allocations: 0 / 1.313 GB, free: 8 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.848e-05/1.421, allocations: 36 kB / 1.313 GB, free: 7.965 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.698e-05/1.421, allocations: 49.98 kB / 1.313 GB, free: 7.918 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/1.422, allocations: 0.8783 MB / 1.314 GB, free: 7.035 MB / 1.045 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.004885/1.427, allocations: 4.299 MB / 1.318 GB, free: 2.383 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/1.428, allocations: 0.7013 MB / 1.318 GB, free: 1.672 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007761/1.429, allocations: 462.9 kB / 1.319 GB, free: 1.219 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006412/1.43, allocations: 0.6771 MB / 1.32 GB, free: 404 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/1.43, allocations: 39.12 kB / 1.32 GB, free: 356 kB / 1.045 GB Notification: Performance of pre-optimization done (n=70): time 2.324e-06/1.43, allocations: 0 / 1.32 GB, free: 356 kB / 1.045 GB Notification: Performance of matching and sorting (n=70): time 0.001909/1.432, allocations: 0.9939 MB / 1.321 GB, free: 15.35 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/1.432, allocations: 55.97 kB / 1.321 GB, free: 15.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000774/1.432, allocations: 0.6373 MB / 1.321 GB, free: 14.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/1.432, allocations: 41.7 kB / 1.321 GB, free: 14.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/1.433, allocations: 428.1 kB / 1.322 GB, free: 14.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/1.433, allocations: 248.3 kB / 1.322 GB, free: 13.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/1.433, allocations: 126.2 kB / 1.322 GB, free: 13.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.433, allocations: 390.7 kB / 1.322 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/1.434, allocations: 273.2 kB / 1.323 GB, free: 13.13 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/1.434, allocations: 361 kB / 1.323 GB, free: 12.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009636/1.435, allocations: 0.6587 MB / 1.324 GB, free: 12.08 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.435, allocations: 4 kB / 1.324 GB, free: 12.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001261/1.437, allocations: 0.7891 MB / 1.324 GB, free: 11.28 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.437, allocations: 10.19 kB / 1.324 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.437, allocations: 3.984 kB / 1.324 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.437, allocations: 4 kB / 1.324 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/1.437, allocations: 147.9 kB / 1.325 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/1.437, allocations: 11.94 kB / 1.325 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007577/1.438, allocations: 55.36 kB / 1.325 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/1.438, allocations: 24 kB / 1.325 GB, free: 11.03 MB / 1.061 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.0004363/1.439, allocations: 289.5 kB / 1.325 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/1.439, allocations: 79.06 kB / 1.325 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/1.44, allocations: 0.7997 MB / 1.326 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/1.44, allocations: 8 kB / 1.326 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.44, allocations: 3.938 kB / 1.326 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/1.441, allocations: 0.8153 MB / 1.327 GB, free: 8.965 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/1.444, allocations: 1.853 MB / 1.328 GB, free: 7.059 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/1.444, allocations: 0 / 1.328 GB, free: 7.059 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008261/1.445, allocations: 163.8 kB / 1.329 GB, free: 6.898 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/1.445, allocations: 4 kB / 1.329 GB, free: 6.895 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.992e-05/1.445, allocations: 16 kB / 1.329 GB, free: 6.879 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/1.445, allocations: 4 kB / 1.329 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.445, allocations: 3.984 kB / 1.329 GB, free: 6.871 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/1.447, allocations: 1.199 MB / 1.33 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/1.447, allocations: 240 kB / 1.33 GB, free: 5.402 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/1.447, allocations: 12 kB / 1.33 GB, free: 5.391 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006879/1.448, allocations: 29.11 kB / 1.33 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/1.448, allocations: 44.44 kB / 1.33 GB, free: 5.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/1.448, allocations: 27.92 kB / 1.33 GB, free: 5.293 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006421/1.449, allocations: 455 kB / 1.331 GB, free: 4.855 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.449, allocations: 8 kB / 1.331 GB, free: 4.848 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001043/1.45, allocations: 339.2 kB / 1.331 GB, free: 4.516 MB / 1.061 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.000417/1.45, allocations: 199.1 kB / 1.331 GB, free: 4.312 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001291/1.452, allocations: 0.6759 MB / 1.332 GB, free: 3.629 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.452, allocations: 0 / 1.332 GB, free: 3.629 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005789/1.452, allocations: 375 kB / 1.332 GB, free: 3.266 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/1.455, allocations: 0.5437 MB / 1.333 GB, free: 2.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/1.459, allocations: 2.219 MB / 1.335 GB, free: 484 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009498/1.46, allocations: 1.085 MB / 1.336 GB, free: 15.36 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/1.46, allocations: 79.44 kB / 1.336 GB, free: 15.29 MB / 1.076 GB Notification: Performance of SimCode: time 6.01e-07/1.46, allocations: 0 / 1.336 GB, free: 15.29 MB / 1.076 GB Notification: Performance of Templates: time 0.03026/1.491, allocations: 15.33 MB / 1.351 GB, free: 80 kB / 1.076 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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