Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ReverseBuoyancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriWesTop.port_a.m_flow|oriEasTop.port_a.m_flow|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow|volBotWes.T|volBotEas.T|volTopWes.T|volTopEas.T|volOut.T|oriWesTop.dp|oriEasTop.dp|oriOutTop.dp|oriOutBot.dp|dooOpeClo.dpAB.1.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001877/0.001877, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.623/2.623, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.91 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6661/0.6674, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.2838/0.9513, allocations: 314.1 MB / 1.533 GB, free: 2.191 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.0268/0.9781, allocations: 18.46 MB / 1.551 GB, free: 15.68 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003695/0.9819, allocations: 87.56 kB / 1.551 GB, free: 15.6 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.005566/0.9875, allocations: 2.242 MB / 1.553 GB, free: 13.34 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01808/1.006, allocations: 7.537 MB / 1.561 GB, free: 5.777 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.008897/1.015, allocations: 3.267 MB / 1.564 GB, free: 2.512 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.7671/1.782, allocations: 9.096 MB / 1.573 GB, free: 9.871 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005632/1.787, allocations: 3.101 MB / 1.576 GB, free: 9.539 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00818/1.796, allocations: 3.392 MB / 1.579 GB, free: 9.539 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008078/1.804, allocations: 3.229 MB / 1.582 GB, free: 9.531 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001335/1.805, allocations: 403.9 kB / 1.583 GB, free: 9.531 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01652/1.822, allocations: 7.035 MB / 1.59 GB, free: 9.531 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.00309/1.825, allocations: 1.688 MB / 1.591 GB, free: 9.531 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.004748/1.829, allocations: 2.303 MB / 1.594 GB, free: 9.531 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01882/1.848, allocations: 8.216 MB / 1.602 GB, free: 8.793 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.848, allocations: 4.969 kB / 1.602 GB, free: 8.789 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.953e-06/1.848, allocations: 0 / 1.602 GB, free: 8.789 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001379/1.848, allocations: 0 / 1.602 GB, free: 8.789 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01425/1.863, allocations: 5.115 MB / 1.607 GB, free: 22.76 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.863, allocations: 8.812 kB / 1.607 GB, free: 22.76 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007069/1.87, allocations: 1.027 MB / 1.608 GB, free: 22.54 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004284/1.874, allocations: 2.263 MB / 1.61 GB, free: 21.95 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/1.874, allocations: 250.8 kB / 1.61 GB, free: 21.94 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005061/1.875, allocations: 332 kB / 1.61 GB, free: 21.93 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006926/1.882, allocations: 4.234 MB / 1.614 GB, free: 21.64 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.202e-05/1.882, allocations: 12.7 kB / 1.614 GB, free: 21.64 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003484/1.882, allocations: 137.2 kB / 1.615 GB, free: 21.63 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001719/1.882, allocations: 170.6 kB / 1.615 GB, free: 21.62 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008178/1.891, allocations: 4.776 MB / 1.619 GB, free: 21.59 MB / 1.295 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.02052/1.911, allocations: 14.48 MB / 1.634 GB, free: 15.13 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006049/1.917, allocations: 4.541 MB / 1.638 GB, free: 14.99 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003479/1.921, allocations: 2.455 MB / 1.64 GB, free: 14.96 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/1.922, allocations: 1.612 MB / 1.642 GB, free: 13.27 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/1.923, allocations: 72.27 kB / 1.642 GB, free: 13.22 MB / 1.295 GB Notification: Performance of pre-optimization done (n=392): time 5.931e-06/1.923, allocations: 3.906 kB / 1.642 GB, free: 13.22 MB / 1.295 GB Notification: Performance of matching and sorting (n=392): time 0.009304/1.932, allocations: 5.551 MB / 1.647 GB, free: 12.93 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/1.932, allocations: 95.45 kB / 1.648 GB, free: 12.86 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/1.935, allocations: 1.681 MB / 1.649 GB, free: 12.64 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003344/1.935, allocations: 93.08 kB / 1.649 GB, free: 12.61 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007837/1.936, allocations: 1.157 MB / 1.65 GB, free: 12.17 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/1.937, allocations: 1.385 MB / 1.652 GB, free: 11.24 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009153/1.938, allocations: 0.5513 MB / 1.652 GB, free: 11.21 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.938, allocations: 301.8 kB / 1.653 GB, free: 10.91 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/1.94, allocations: 1.566 MB / 1.654 GB, free: 10.91 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002773/1.943, allocations: 1.922 MB / 1.656 GB, free: 10.69 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005472/1.949, allocations: 3.765 MB / 1.66 GB, free: 10.44 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/1.949, allocations: 2.875 kB / 1.66 GB, free: 10.44 MB / 1.295 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006925/1.956, allocations: 4.193 MB / 1.664 GB, free: 10.16 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/1.956, allocations: 8.906 kB / 1.664 GB, free: 10.16 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/1.956, allocations: 5.531 kB / 1.664 GB, free: 10.16 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.888e-05/1.956, allocations: 24.44 kB / 1.664 GB, free: 10.15 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003128/1.959, allocations: 0.6952 MB / 1.664 GB, free: 10.15 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.733e-05/1.959, allocations: 22.92 kB / 1.665 GB, free: 10.15 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/1.962, allocations: 272.2 kB / 1.665 GB, free: 10 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/1.962, allocations: 117.4 kB / 1.665 GB, free: 10 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.001583/1.963, allocations: 0.7927 MB / 1.666 GB, free: 9.887 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006495/1.964, allocations: 304.3 kB / 1.666 GB, free: 9.73 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007178/1.971, allocations: 4.433 MB / 1.67 GB, free: 9.52 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005387/1.977, allocations: 3.794 MB / 1.674 GB, free: 9.176 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/1.977, allocations: 0 / 1.674 GB, free: 9.176 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001917/1.979, allocations: 0.8095 MB / 1.675 GB, free: 8.867 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004922/1.979, allocations: 71.19 kB / 1.675 GB, free: 8.867 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/1.981, allocations: 84.09 kB / 1.675 GB, free: 8.867 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004734/1.982, allocations: 225.4 kB / 1.675 GB, free: 8.863 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007892/1.99, allocations: 4.41 MB / 1.679 GB, free: 8.656 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00925/1.999, allocations: 6.816 MB / 1.686 GB, free: 8.133 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002672/2.002, allocations: 2.076 MB / 1.688 GB, free: 8.102 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001782/2.003, allocations: 1.154 MB / 1.689 GB, free: 7.957 MB / 1.295 GB Notification: Performance of Backend: time 7.51e-07/2.003, allocations: 1.125 kB / 1.689 GB, free: 7.957 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009311/2.013, allocations: 3.852 MB / 1.693 GB, free: 5.691 MB / 1.295 GB Notification: Performance of SimCode: time 0.01347/2.026, allocations: 7.507 MB / 1.7 GB, free: 14.88 MB / 1.311 GB Notification: Performance of Templates: time 0.1361/2.162, allocations: 81.01 MB / 1.779 GB, free: 0.9805 MB / 1.373 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches