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 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.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.001952/0.001952, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001978/0.001978, allocations: 191 kB / 17.2 MB, free: 5.59 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.536/1.536, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 65 kB / 0.9245 GB, free: 8 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228/1.231, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.3367/1.567, allocations: 218.2 MB / 1.296 GB, free: 3.973 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03871/1.606, allocations: 26.46 MB / 1.322 GB, free: 9.43 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002885/1.609, allocations: 35.81 kB / 1.322 GB, free: 9.395 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003754/1.613, allocations: 1.15 MB / 1.323 GB, free: 8.238 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/1.624, allocations: 3.1 MB / 1.326 GB, free: 5.125 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005607/1.629, allocations: 1.652 MB / 1.328 GB, free: 3.477 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007553/1.637, allocations: 3.817 MB / 1.331 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003073/1.64, allocations: 1.444 MB / 1.333 GB, free: 14.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007473/1.648, allocations: 2.292 MB / 1.335 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003723/1.651, allocations: 1.428 MB / 1.336 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003459/1.652, allocations: 124 kB / 1.337 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005991/1.658, allocations: 1.769 MB / 1.338 GB, free: 8.547 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001142/1.659, allocations: 0.8489 MB / 1.339 GB, free: 7.695 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00204/1.661, allocations: 1.138 MB / 1.34 GB, free: 6.551 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006371/1.667, allocations: 2.905 MB / 1.343 GB, free: 3.637 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.457e-06/1.667, allocations: 0 / 1.343 GB, free: 3.637 MB / 1.061 GB Notification: Performance of FrontEnd: time 5.31e-06/1.667, allocations: 3.984 kB / 1.343 GB, free: 3.633 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.89e-05/1.667, allocations: 0 / 1.343 GB, free: 3.633 MB / 1.061 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.005584/1.673, allocations: 2.779 MB / 1.346 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 7.357e-05/1.673, allocations: 12.03 kB / 1.346 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/1.675, allocations: 432.4 kB / 1.346 GB, free: 360 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/1.678, allocations: 1.463 MB / 1.348 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/1.678, allocations: 102.5 kB / 1.348 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/1.679, allocations: 132 kB / 1.348 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003094/1.682, allocations: 1.587 MB / 1.349 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.349e-05/1.682, allocations: 15.94 kB / 1.349 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/1.682, allocations: 55.98 kB / 1.349 GB, free: 12.79 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001409/1.682, allocations: 89.95 kB / 1.35 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/1.684, allocations: 1.054 MB / 1.351 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/1.696, allocations: 8.141 MB / 1.359 GB, free: 2.996 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/1.698, allocations: 0.7271 MB / 1.359 GB, free: 2.223 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/1.698, allocations: 308.1 kB / 1.36 GB, free: 1.906 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008349/1.699, allocations: 0.6091 MB / 1.36 GB, free: 1.168 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.922e-05/1.699, allocations: 46.86 kB / 1.36 GB, free: 1.113 MB / 1.076 GB Notification: Performance of pre-optimization done (n=50): time 4.479e-06/1.699, allocations: 0 / 1.36 GB, free: 1.113 MB / 1.076 GB Notification: Performance of matching and sorting (n=50): time 0.002309/1.701, allocations: 0.9723 MB / 1.361 GB, free: 136 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/1.702, allocations: 166.2 kB / 1.361 GB, free: 15.93 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004193/1.706, allocations: 3.096 MB / 1.364 GB, free: 12.82 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/1.706, allocations: 37.7 kB / 1.364 GB, free: 12.78 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/1.707, allocations: 1.035 MB / 1.365 GB, free: 11.74 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/1.707, allocations: 177.4 kB / 1.366 GB, free: 11.56 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/1.707, allocations: 102.2 kB / 1.366 GB, free: 11.46 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.707, allocations: 326.1 kB / 1.366 GB, free: 11.13 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/1.708, allocations: 220.9 kB / 1.366 GB, free: 10.92 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/1.708, allocations: 326.9 kB / 1.366 GB, free: 10.57 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008563/1.709, allocations: 0.5441 MB / 1.367 GB, free: 9.988 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.709, allocations: 4 kB / 1.367 GB, free: 9.984 MB / 1.092 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001394/1.711, allocations: 0.7996 MB / 1.368 GB, free: 9.176 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/1.711, allocations: 4 kB / 1.368 GB, free: 9.172 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.711, allocations: 7.938 kB / 1.368 GB, free: 9.164 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.178e-05/1.711, allocations: 7.984 kB / 1.368 GB, free: 9.156 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/1.711, allocations: 107.8 kB / 1.368 GB, free: 9.051 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.711, allocations: 7.938 kB / 1.368 GB, free: 9.043 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000848/1.712, allocations: 86.95 kB / 1.368 GB, free: 8.957 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/1.712, allocations: 20 kB / 1.368 GB, free: 8.938 MB / 1.092 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.000772/1.713, allocations: 0.5443 MB / 1.369 GB, free: 8.383 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/1.713, allocations: 225.2 kB / 1.369 GB, free: 8.16 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/1.714, allocations: 0.7916 MB / 1.37 GB, free: 7.359 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/1.715, allocations: 8 kB / 1.37 GB, free: 7.352 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/1.715, allocations: 0 / 1.37 GB, free: 7.352 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/1.715, allocations: 11.98 kB / 1.37 GB, free: 7.34 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/1.718, allocations: 2.017 MB / 1.372 GB, free: 5.242 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/1.718, allocations: 192 / 1.372 GB, free: 5.242 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/1.718, allocations: 99.89 kB / 1.372 GB, free: 5.145 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/1.718, allocations: 4 kB / 1.372 GB, free: 5.141 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/1.718, allocations: 20 kB / 1.372 GB, free: 5.121 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/1.718, allocations: 11.92 kB / 1.372 GB, free: 5.109 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.718, allocations: 0 / 1.372 GB, free: 5.109 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/1.72, allocations: 1.258 MB / 1.373 GB, free: 3.816 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006592/1.721, allocations: 398 kB / 1.373 GB, free: 3.406 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/1.721, allocations: 12 kB / 1.373 GB, free: 3.395 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000603/1.721, allocations: 19.98 kB / 1.373 GB, free: 3.375 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/1.722, allocations: 48.27 kB / 1.373 GB, free: 3.328 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/1.722, allocations: 12 kB / 1.373 GB, free: 3.316 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003006/1.725, allocations: 2.219 MB / 1.376 GB, free: 1.09 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.725, allocations: 0 / 1.376 GB, free: 1.09 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00134/1.726, allocations: 463.1 kB / 1.376 GB, free: 0.6367 MB / 1.092 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.001916/1.728, allocations: 0.5277 MB / 1.376 GB, free: 244 kB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001221/1.729, allocations: 0.6074 MB / 1.377 GB, free: 15.63 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.729, allocations: 0 / 1.377 GB, free: 15.63 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000444/1.73, allocations: 295.1 kB / 1.377 GB, free: 15.34 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003567/1.733, allocations: 0.849 MB / 1.378 GB, free: 14.5 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00694/1.74, allocations: 4.295 MB / 1.382 GB, free: 10.14 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/1.742, allocations: 1.608 MB / 1.384 GB, free: 8.496 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/1.742, allocations: 151.4 kB / 1.384 GB, free: 8.348 MB / 1.107 GB Notification: Performance of SimCode: time 1.483e-06/1.742, allocations: 3.938 kB / 1.384 GB, free: 8.344 MB / 1.107 GB Notification: Performance of Templates: time 0.06953/1.812, allocations: 33.05 MB / 1.416 GB, free: 7.496 MB / 1.139 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=400 -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