Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|m_flow_data.1.|m_flow_data.2.|m_flow_data.3.|m_flow_data.4.|m_flow_data.5.|m_flow_data.6.|m_flow_data.7.|m_flow_data.8.|m_flow_testdata.1.|m_flow_testdata.2.|m_flow_testdata.3.|m_flow_testdata.4.|m_flow_testdata.5.|m_flow_testdata.6.|m_flow_testdata.7.|m_flow_testdata.8.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow") translateModel(Buildings.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|m_flow_data.1.|m_flow_data.2.|m_flow_data.3.|m_flow_data.4.|m_flow_data.5.|m_flow_data.6.|m_flow_data.7.|m_flow_data.8.|m_flow_testdata.1.|m_flow_testdata.2.|m_flow_testdata.3.|m_flow_testdata.4.|m_flow_testdata.5.|m_flow_testdata.6.|m_flow_testdata.7.|m_flow_testdata.8.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 112.8 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.001358/0.001358, allocations: 183 kB / 17.34 MB, free: 5.762 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.243/1.243, 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 11.0.1-master/package.mo): time 2.338/2.338, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.91 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.688, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.1875/0.8755, allocations: 218.2 MB / 1.421 GB, free: 2.621 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02577/0.9013, allocations: 26.46 MB / 1.447 GB, free: 8.07 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.9028, allocations: 31.81 kB / 1.447 GB, free: 8.039 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.9052, allocations: 1.154 MB / 1.448 GB, free: 6.879 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006425/0.9117, allocations: 3.138 MB / 1.452 GB, free: 3.734 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.9152, allocations: 1.669 MB / 1.453 GB, free: 2.07 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004112/0.9193, allocations: 3.853 MB / 1.457 GB, free: 14.2 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.9213, allocations: 1.456 MB / 1.458 GB, free: 12.71 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003909/0.9252, allocations: 2.292 MB / 1.461 GB, free: 10.41 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001949/0.9272, allocations: 1.475 MB / 1.462 GB, free: 8.93 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002711/0.9275, allocations: 124 kB / 1.462 GB, free: 8.809 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00324/0.9307, allocations: 1.777 MB / 1.464 GB, free: 7.027 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007072/0.9314, allocations: 0.8529 MB / 1.465 GB, free: 6.172 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.9327, allocations: 1.134 MB / 1.466 GB, free: 5.031 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003453/0.9362, allocations: 2.949 MB / 1.469 GB, free: 2.074 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9362, allocations: 4 kB / 1.469 GB, free: 2.07 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9362, allocations: 0 / 1.469 GB, free: 2.07 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.851e-05/0.9362, allocations: 0 / 1.469 GB, free: 2.07 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.003884/0.9401, allocations: 2.779 MB / 1.471 GB, free: 15.23 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.9402, allocations: 8.031 kB / 1.471 GB, free: 15.22 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.9418, allocations: 440.4 kB / 1.472 GB, free: 14.79 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.9439, allocations: 1.487 MB / 1.473 GB, free: 13.23 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.944, allocations: 94.53 kB / 1.473 GB, free: 13.13 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.9441, allocations: 132 kB / 1.474 GB, free: 13 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.9462, allocations: 1.587 MB / 1.475 GB, free: 11.27 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.9463, allocations: 15.92 kB / 1.475 GB, free: 11.26 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.852e-05/0.9464, allocations: 52 kB / 1.475 GB, free: 11.21 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.502e-05/0.9465, allocations: 89.97 kB / 1.475 GB, free: 11.12 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.948, allocations: 1.061 MB / 1.476 GB, free: 10.06 MB / 1.201 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.006043/0.954, allocations: 8.098 MB / 1.484 GB, free: 1.457 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008352/0.9549, allocations: 0.7347 MB / 1.485 GB, free: 0.6758 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/0.9553, allocations: 312.1 kB / 1.485 GB, free: 364 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004618/0.9557, allocations: 0.6052 MB / 1.486 GB, free: 15.62 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.9558, allocations: 42.5 kB / 1.486 GB, free: 15.57 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 1.924e-06/0.9558, allocations: 0 / 1.486 GB, free: 15.57 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.001411/0.9572, allocations: 0.9674 MB / 1.487 GB, free: 14.59 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.9573, allocations: 158.2 kB / 1.487 GB, free: 14.4 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002962/0.9602, allocations: 3.1 MB / 1.49 GB, free: 11.29 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.9603, allocations: 37.7 kB / 1.49 GB, free: 11.25 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006843/0.961, allocations: 1.039 MB / 1.491 GB, free: 10.2 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.9611, allocations: 181.4 kB / 1.491 GB, free: 10.02 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.9612, allocations: 98.27 kB / 1.491 GB, free: 9.918 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.9613, allocations: 329.9 kB / 1.492 GB, free: 9.59 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.9617, allocations: 217 kB / 1.492 GB, free: 9.379 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.962, allocations: 326.8 kB / 1.492 GB, free: 9.027 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/0.9627, allocations: 0.5493 MB / 1.493 GB, free: 8.445 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9627, allocations: 0 / 1.493 GB, free: 8.445 MB / 1.217 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001007/0.9638, allocations: 0.8068 MB / 1.493 GB, free: 7.629 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.9638, allocations: 7.938 kB / 1.493 GB, free: 7.621 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.9638, allocations: 4.094 kB / 1.493 GB, free: 7.617 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.9638, allocations: 7.984 kB / 1.493 GB, free: 7.609 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.9642, allocations: 111.8 kB / 1.494 GB, free: 7.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.9642, allocations: 4 kB / 1.494 GB, free: 7.496 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.9648, allocations: 91.2 kB / 1.494 GB, free: 7.406 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/0.9649, allocations: 20 kB / 1.494 GB, free: 7.387 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.000566/0.9654, allocations: 0.5404 MB / 1.494 GB, free: 6.836 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.9657, allocations: 225.1 kB / 1.494 GB, free: 6.613 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.9668, allocations: 0.7955 MB / 1.495 GB, free: 5.812 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.9668, allocations: 8 kB / 1.495 GB, free: 5.805 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9668, allocations: 0 / 1.495 GB, free: 5.805 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.9669, allocations: 8 kB / 1.495 GB, free: 5.797 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.9691, allocations: 2.016 MB / 1.497 GB, free: 3.703 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.9691, allocations: 8.188 kB / 1.497 GB, free: 3.695 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/0.9695, allocations: 95.89 kB / 1.497 GB, free: 3.602 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.9695, allocations: 4 kB / 1.497 GB, free: 3.598 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.9695, allocations: 16 kB / 1.497 GB, free: 3.582 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.9696, allocations: 7.938 kB / 1.497 GB, free: 3.574 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.9696, allocations: 0 / 1.497 GB, free: 3.574 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.971, allocations: 1.27 MB / 1.499 GB, free: 2.27 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004461/0.9714, allocations: 390 kB / 1.499 GB, free: 1.867 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.9716, allocations: 12 kB / 1.499 GB, free: 1.855 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.9722, allocations: 27.92 kB / 1.499 GB, free: 1.828 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.9723, allocations: 36.33 kB / 1.499 GB, free: 1.793 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.9723, allocations: 20 kB / 1.499 GB, free: 1.773 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002179/0.9745, allocations: 2.215 MB / 1.501 GB, free: 15.55 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9745, allocations: 0 / 1.501 GB, free: 15.55 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008799/0.9754, allocations: 463.1 kB / 1.502 GB, free: 15.1 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * 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 (53): * Single equations (assignments): 53 * 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.001073/0.9765, allocations: 0.5325 MB / 1.502 GB, free: 14.69 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.000771/0.9773, allocations: 0.5294 MB / 1.503 GB, free: 14.16 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9773, allocations: 0 / 1.503 GB, free: 14.16 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.9777, allocations: 291 kB / 1.503 GB, free: 13.88 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/0.9807, allocations: 0.8559 MB / 1.504 GB, free: 13.03 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004623/0.9853, allocations: 4.232 MB / 1.508 GB, free: 8.734 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009823/0.9863, allocations: 1.616 MB / 1.509 GB, free: 7.09 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.9866, allocations: 151.4 kB / 1.51 GB, free: 6.941 MB / 1.232 GB Notification: Performance of SimCode: time 2.1e-07/0.9866, allocations: 0 / 1.51 GB, free: 6.941 MB / 1.232 GB Notification: Performance of Templates: time 0.04263/1.029, allocations: 33.31 MB / 1.542 GB, free: 5.855 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches