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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001455/0.001455, allocations: 105 kB / 15.98 MB, free: 5.891 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.001447/0.001447, allocations: 187.4 kB / 16.91 MB, free: 5.746 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.524/1.524, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.048/3.048, allocations: 469.8 MB / 0.7427 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 65.17 kB / 0.9087 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3931, allocations: 159.2 MB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 1.427/1.82, allocations: 199.4 MB / 1.259 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01818/1.838, allocations: 7.355 MB / 1.266 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002918/1.841, allocations: 32.47 kB / 1.266 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003496/1.845, allocations: 0.624 MB / 1.267 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01204/1.857, allocations: 2.258 MB / 1.269 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006048/1.863, allocations: 1.138 MB / 1.27 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007162/1.87, allocations: 2.906 MB / 1.273 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002556/1.873, allocations: 0.9317 MB / 1.274 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003591/1.877, allocations: 1.033 MB / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004539/1.881, allocations: 1.024 MB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005981/1.882, allocations: 110.4 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009613/1.891, allocations: 2.23 MB / 1.278 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001527/1.893, allocations: 452 kB / 1.278 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002019/1.895, allocations: 0.666 MB / 1.279 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006326/1.901, allocations: 1.8 MB / 1.281 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.901, allocations: 0 / 1.281 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.426e-06/1.901, allocations: 2.219 kB / 1.281 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.2e-05/1.901, allocations: 0 / 1.281 GB, free: 4.27 MB / 0.9981 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.007214/1.909, allocations: 1.627 MB / 1.282 GB, free: 19.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/1.909, allocations: 9.906 kB / 1.282 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004992/1.914, allocations: 376.7 kB / 1.283 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002791/1.917, allocations: 0.8142 MB / 1.284 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/1.917, allocations: 60.69 kB / 1.284 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/1.917, allocations: 86.16 kB / 1.284 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003409/1.92, allocations: 1.046 MB / 1.285 GB, free: 18.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.144e-05/1.921, allocations: 3.188 kB / 1.285 GB, free: 18.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/1.921, allocations: 37.38 kB / 1.285 GB, free: 18.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.955e-05/1.921, allocations: 44.06 kB / 1.285 GB, free: 18.93 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002891/1.924, allocations: 0.8847 MB / 1.286 GB, free: 18.91 MB / 1.014 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.00977/1.933, allocations: 4.282 MB / 1.29 GB, free: 16.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/1.935, allocations: 0.695 MB / 1.291 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/1.937, allocations: 455.6 kB / 1.291 GB, free: 16.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/1.938, allocations: 0.675 MB / 1.292 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.315e-05/1.938, allocations: 44.92 kB / 1.292 GB, free: 15.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 4.939e-06/1.938, allocations: 0.6875 kB / 1.292 GB, free: 15.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.003635/1.942, allocations: 0.9939 MB / 1.293 GB, free: 15.52 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/1.942, allocations: 60.56 kB / 1.293 GB, free: 15.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/1.943, allocations: 0.6381 MB / 1.293 GB, free: 15.33 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/1.944, allocations: 39.89 kB / 1.293 GB, free: 15.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004342/1.944, allocations: 431.1 kB / 1.294 GB, free: 15.11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/1.944, allocations: 249.2 kB / 1.294 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003396/1.945, allocations: 116.1 kB / 1.294 GB, free: 14.93 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002984/1.945, allocations: 395.1 kB / 1.295 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008392/1.946, allocations: 276 kB / 1.295 GB, free: 14.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009383/1.947, allocations: 362.6 kB / 1.295 GB, free: 14.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/1.949, allocations: 0.6586 MB / 1.296 GB, free: 14.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/1.949, allocations: 0 / 1.296 GB, free: 14.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002458/1.951, allocations: 0.7937 MB / 1.297 GB, free: 14.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/1.951, allocations: 8.188 kB / 1.297 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.951, allocations: 2.094 kB / 1.297 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.759e-05/1.951, allocations: 4.469 kB / 1.297 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/1.953, allocations: 144.7 kB / 1.297 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/1.953, allocations: 5.688 kB / 1.297 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/1.955, allocations: 117 kB / 1.297 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-05/1.955, allocations: 25.22 kB / 1.297 GB, free: 14.38 MB / 1.014 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.0009738/1.956, allocations: 299.2 kB / 1.297 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/1.956, allocations: 87.94 kB / 1.297 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/1.959, allocations: 0.7978 MB / 1.298 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/1.959, allocations: 6.719 kB / 1.298 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/1.959, allocations: 0 / 1.298 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001924/1.961, allocations: 0.8172 MB / 1.299 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/1.966, allocations: 1.852 MB / 1.301 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/1.966, allocations: 0 / 1.301 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/1.967, allocations: 169.1 kB / 1.301 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.905e-05/1.968, allocations: 6.312 kB / 1.301 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.6e-05/1.968, allocations: 19.53 kB / 1.301 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.749e-06/1.968, allocations: 3.312 kB / 1.301 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.968, allocations: 1.469 kB / 1.301 GB, free: 13.54 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003389/1.971, allocations: 1.187 MB / 1.302 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009697/1.972, allocations: 247.3 kB / 1.302 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/1.972, allocations: 15.66 kB / 1.302 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/1.974, allocations: 77.53 kB / 1.302 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/1.974, allocations: 46.91 kB / 1.302 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.001e-05/1.974, allocations: 22.94 kB / 1.302 GB, free: 13.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001045/1.975, allocations: 454 kB / 1.303 GB, free: 13.11 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.61e-07/1.975, allocations: 0.7812 kB / 1.303 GB, free: 13.11 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001789/1.977, allocations: 337.5 kB / 1.303 GB, free: 13.07 MB / 1.014 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.0005862/1.978, allocations: 199.7 kB / 1.303 GB, free: 12.97 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002983/1.981, allocations: 0.8123 MB / 1.304 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.981, allocations: 1.375 kB / 1.304 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009609/1.982, allocations: 376.1 kB / 1.304 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004965/1.987, allocations: 0.5522 MB / 1.305 GB, free: 12.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00713/1.994, allocations: 2.622 MB / 1.308 GB, free: 11.53 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/1.995, allocations: 1.092 MB / 1.309 GB, free: 10.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006658/1.996, allocations: 81.31 kB / 1.309 GB, free: 10.81 MB / 1.014 GB Notification: Performance of SimCode: time 2.044e-06/1.996, allocations: 0 / 1.309 GB, free: 10.81 MB / 1.014 GB Notification: Performance of Templates: time 0.04405/2.04, allocations: 15.24 MB / 1.324 GB, free: 9.406 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (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) 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) "" 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