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.001036/0.001037, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.001149/0.001149, allocations: 183 kB / 17.34 MB, free: 5.75 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.561/1.561, allocations: 222.9 MB / 241 MB, free: 15.14 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.765/2.765, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.89 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481/1.482, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.365/1.847, allocations: 202 MB / 1.286 GB, free: 3.594 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01272/1.86, allocations: 7.396 MB / 1.293 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/1.862, allocations: 35.81 kB / 1.293 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/1.864, allocations: 0.7187 MB / 1.294 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007981/1.872, allocations: 2.492 MB / 1.296 GB, free: 8.926 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004008/1.876, allocations: 1.257 MB / 1.297 GB, free: 7.668 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01036/1.887, allocations: 2.907 MB / 1.3 GB, free: 4.754 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/1.888, allocations: 0.9469 MB / 1.301 GB, free: 3.789 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007104/1.895, allocations: 1.055 MB / 1.302 GB, free: 2.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/1.898, allocations: 0.9725 MB / 1.303 GB, free: 1.762 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002128/1.898, allocations: 112 kB / 1.303 GB, free: 1.652 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.018/1.916, allocations: 2.139 MB / 1.305 GB, free: 15.51 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007738/1.917, allocations: 446.8 kB / 1.306 GB, free: 15.07 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/1.918, allocations: 0.665 MB / 1.306 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01144/1.93, allocations: 2.404 MB / 1.309 GB, free: 11.99 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/1.93, allocations: 0 / 1.309 GB, free: 11.99 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/1.93, allocations: 0 / 1.309 GB, free: 11.99 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.407e-05/1.93, allocations: 0 / 1.309 GB, free: 11.99 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.003852/1.933, allocations: 1.628 MB / 1.31 GB, free: 10.31 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.934, allocations: 12.03 kB / 1.31 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/1.936, allocations: 370.2 kB / 1.311 GB, free: 9.934 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/1.938, allocations: 0.8513 MB / 1.312 GB, free: 9.039 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.392e-05/1.938, allocations: 62 kB / 1.312 GB, free: 8.98 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/1.938, allocations: 84 kB / 1.312 GB, free: 8.898 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/1.94, allocations: 1.046 MB / 1.313 GB, free: 7.816 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/1.94, allocations: 4 kB / 1.313 GB, free: 7.812 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-05/1.94, allocations: 35.98 kB / 1.313 GB, free: 7.777 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.089e-05/1.94, allocations: 45.98 kB / 1.313 GB, free: 7.734 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/1.941, allocations: 0.8822 MB / 1.314 GB, free: 6.848 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.00557/1.947, allocations: 4.295 MB / 1.318 GB, free: 2.199 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/1.948, allocations: 0.7012 MB / 1.319 GB, free: 1.488 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007968/1.949, allocations: 462.9 kB / 1.319 GB, free: 1.035 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007627/1.95, allocations: 0.6732 MB / 1.32 GB, free: 220 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/1.95, allocations: 39.12 kB / 1.32 GB, free: 172 kB / 1.045 GB Notification: Performance of pre-optimization done (n=70): time 2.224e-06/1.95, allocations: 4 kB / 1.32 GB, free: 168 kB / 1.045 GB Notification: Performance of matching and sorting (n=70): time 0.002002/1.952, allocations: 0.9978 MB / 1.321 GB, free: 15.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/1.952, allocations: 59.97 kB / 1.321 GB, free: 15.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008244/1.953, allocations: 0.6334 MB / 1.321 GB, free: 14.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.303e-05/1.953, allocations: 37.7 kB / 1.321 GB, free: 14.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/1.953, allocations: 428.1 kB / 1.322 GB, free: 13.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/1.953, allocations: 252.2 kB / 1.322 GB, free: 13.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/1.954, allocations: 122.2 kB / 1.322 GB, free: 13.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000203/1.954, allocations: 394.7 kB / 1.323 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/1.954, allocations: 269.2 kB / 1.323 GB, free: 12.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/1.955, allocations: 357 kB / 1.323 GB, free: 12.58 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/1.956, allocations: 0.6665 MB / 1.324 GB, free: 11.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.956, allocations: 0 / 1.324 GB, free: 11.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001335/1.957, allocations: 0.7892 MB / 1.325 GB, free: 11.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.957, allocations: 14.33 kB / 1.325 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.957, allocations: 0 / 1.325 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/1.957, allocations: 4 kB / 1.325 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/1.958, allocations: 143.8 kB / 1.325 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/1.958, allocations: 4 kB / 1.325 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008157/1.959, allocations: 71.42 kB / 1.325 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/1.959, allocations: 24 kB / 1.325 GB, free: 10.84 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.0005798/1.959, allocations: 289.5 kB / 1.325 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/1.96, allocations: 83.05 kB / 1.325 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/1.961, allocations: 0.7958 MB / 1.326 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/1.961, allocations: 8 kB / 1.326 GB, free: 9.645 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.961, allocations: 3.938 kB / 1.326 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00122/1.962, allocations: 0.823 MB / 1.327 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/1.965, allocations: 1.841 MB / 1.329 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.965, allocations: 0 / 1.329 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008229/1.966, allocations: 167.8 kB / 1.329 GB, free: 6.711 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/1.966, allocations: 4 kB / 1.329 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.107e-05/1.966, allocations: 16 kB / 1.329 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/1.966, allocations: 7.984 kB / 1.329 GB, free: 6.684 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.966, allocations: 0 / 1.329 GB, free: 6.684 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/1.968, allocations: 1.203 MB / 1.33 GB, free: 5.465 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004653/1.969, allocations: 244 kB / 1.33 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/1.969, allocations: 16 kB / 1.33 GB, free: 5.191 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/1.969, allocations: 23.98 kB / 1.33 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.969, allocations: 44.44 kB / 1.33 GB, free: 5.125 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/1.969, allocations: 27.92 kB / 1.33 GB, free: 5.098 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000675/1.97, allocations: 455 kB / 1.331 GB, free: 4.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.97, allocations: 0 / 1.331 GB, free: 4.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009924/1.971, allocations: 339.2 kB / 1.331 GB, free: 4.328 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.0004232/1.972, allocations: 206.7 kB / 1.331 GB, free: 4.121 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001305/1.973, allocations: 0.6757 MB / 1.332 GB, free: 3.438 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.973, allocations: 0 / 1.332 GB, free: 3.438 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005649/1.973, allocations: 367.4 kB / 1.332 GB, free: 3.082 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/1.976, allocations: 0.5421 MB / 1.333 GB, free: 2.543 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/1.98, allocations: 2.216 MB / 1.335 GB, free: 296 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/1.981, allocations: 1.085 MB / 1.336 GB, free: 15.18 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/1.981, allocations: 75.44 kB / 1.336 GB, free: 15.11 MB / 1.076 GB Notification: Performance of SimCode: time 1.453e-06/1.981, allocations: 0 / 1.336 GB, free: 15.11 MB / 1.076 GB Notification: Performance of Templates: time 0.02684/2.008, allocations: 15.34 MB / 1.351 GB, free: 15.89 MB / 1.092 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