Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002223/0.002223, allocations: 209.6 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.096/3.096, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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_12_Buildings.Airflow.Multizone.Validation.OneWayFlow") translateModel(Buildings.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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_12_Buildings.Airflow.Multizone.Validation.OneWayFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 66.67 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2828, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2282/0.5109, allocations: 193.4 MB / 1.516 GB, free: 14.9 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03131/0.5423, allocations: 24.34 MB / 1.54 GB, free: 6.488 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.5437, allocations: 43.69 kB / 1.54 GB, free: 6.445 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002531/0.5463, allocations: 1.131 MB / 1.541 GB, free: 5.309 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007165/0.5534, allocations: 3.227 MB / 1.544 GB, free: 2.07 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00399/0.5574, allocations: 1.744 MB / 1.546 GB, free: 340 kB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.0043/0.5617, allocations: 3.837 MB / 1.549 GB, free: 12.48 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.5634, allocations: 1.144 MB / 1.551 GB, free: 11.3 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004335/0.5678, allocations: 2.39 MB / 1.553 GB, free: 8.902 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00187/0.5696, allocations: 1.541 MB / 1.554 GB, free: 7.355 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.5698, allocations: 124 kB / 1.554 GB, free: 7.234 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.5729, allocations: 1.605 MB / 1.556 GB, free: 5.625 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007844/0.5737, allocations: 0.8605 MB / 1.557 GB, free: 4.762 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.000973/0.5746, allocations: 0.9325 MB / 1.558 GB, free: 3.824 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003423/0.5781, allocations: 2.972 MB / 1.561 GB, free: 0.8398 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5781, allocations: 0 / 1.561 GB, free: 0.8398 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5781, allocations: 0 / 1.561 GB, free: 0.8398 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.105e-05/0.5781, allocations: 4 kB / 1.561 GB, free: 0.8359 MB / 1.248 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.004406/0.5825, allocations: 2.795 MB / 1.563 GB, free: 13.99 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.5825, allocations: 12.03 kB / 1.563 GB, free: 13.98 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.5843, allocations: 445.9 kB / 1.564 GB, free: 13.54 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/0.5868, allocations: 1.44 MB / 1.565 GB, free: 12.04 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.17e-05/0.5869, allocations: 98.52 kB / 1.565 GB, free: 11.95 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.587, allocations: 128 kB / 1.566 GB, free: 11.82 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.5895, allocations: 1.595 MB / 1.567 GB, free: 10.08 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/0.5895, allocations: 3.938 kB / 1.567 GB, free: 10.08 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.5896, allocations: 59.98 kB / 1.567 GB, free: 10.02 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.5897, allocations: 101.8 kB / 1.567 GB, free: 9.918 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.5915, allocations: 1.058 MB / 1.568 GB, free: 8.859 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006787/0.5983, allocations: 6.159 MB / 1.574 GB, free: 2.5 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.5993, allocations: 0.709 MB / 1.575 GB, free: 1.746 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/0.5998, allocations: 296.1 kB / 1.575 GB, free: 1.441 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003316/0.6001, allocations: 83.94 kB / 1.575 GB, free: 1.359 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.6001, allocations: 50.48 kB / 1.575 GB, free: 1.301 MB / 1.264 GB Notification: Performance of pre-optimization done (n=50): time 2.044e-06/0.6001, allocations: 0 / 1.575 GB, free: 1.301 MB / 1.264 GB Notification: Performance of matching and sorting (n=50): time 0.001625/0.6018, allocations: 0.9351 MB / 1.576 GB, free: 368 kB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.6019, allocations: 162.2 kB / 1.576 GB, free: 168 kB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.605, allocations: 2.554 MB / 1.579 GB, free: 13.57 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.605, allocations: 37.7 kB / 1.579 GB, free: 13.53 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008781/0.6059, allocations: 1.068 MB / 1.58 GB, free: 12.45 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.6061, allocations: 190.4 kB / 1.58 GB, free: 12.26 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.6062, allocations: 94.14 kB / 1.58 GB, free: 12.16 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6064, allocations: 333.9 kB / 1.581 GB, free: 11.83 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.6068, allocations: 217 kB / 1.581 GB, free: 11.62 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/0.6072, allocations: 373.6 kB / 1.581 GB, free: 11.21 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008466/0.6081, allocations: 0.5522 MB / 1.582 GB, free: 10.62 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.6081, allocations: 0 / 1.582 GB, free: 10.62 MB / 1.279 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001181/0.6093, allocations: 0.7655 MB / 1.582 GB, free: 9.852 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6093, allocations: 11.94 kB / 1.582 GB, free: 9.84 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.6093, allocations: 4 kB / 1.582 GB, free: 9.836 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.6093, allocations: 12.19 kB / 1.582 GB, free: 9.824 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.6097, allocations: 107.8 kB / 1.583 GB, free: 9.719 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.6097, allocations: 4 kB / 1.583 GB, free: 9.715 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/0.6103, allocations: 35.73 kB / 1.583 GB, free: 9.68 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.6103, allocations: 27.98 kB / 1.583 GB, free: 9.652 MB / 1.279 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.0006855/0.611, allocations: 0.5404 MB / 1.583 GB, free: 9.102 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/0.6113, allocations: 194.7 kB / 1.583 GB, free: 8.91 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.6126, allocations: 0.7642 MB / 1.584 GB, free: 8.137 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.6126, allocations: 8 kB / 1.584 GB, free: 8.129 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6126, allocations: 0 / 1.584 GB, free: 8.129 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.6126, allocations: 7.984 kB / 1.584 GB, free: 8.121 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.6154, allocations: 1.723 MB / 1.586 GB, free: 6.336 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6154, allocations: 0 / 1.586 GB, free: 6.336 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.6158, allocations: 104 kB / 1.586 GB, free: 6.234 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.6158, allocations: 8 kB / 1.586 GB, free: 6.227 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.6158, allocations: 15.92 kB / 1.586 GB, free: 6.211 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.6159, allocations: 4 kB / 1.586 GB, free: 6.207 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6159, allocations: 4 kB / 1.586 GB, free: 6.203 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.6176, allocations: 1.233 MB / 1.587 GB, free: 4.934 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00062/0.6182, allocations: 270.5 kB / 1.587 GB, free: 4.668 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.6184, allocations: 12 kB / 1.587 GB, free: 4.656 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/0.6189, allocations: 19.98 kB / 1.587 GB, free: 4.637 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.619, allocations: 44.31 kB / 1.587 GB, free: 4.594 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.619, allocations: 12 kB / 1.587 GB, free: 4.582 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002284/0.6213, allocations: 1.836 MB / 1.589 GB, free: 2.727 MB / 1.279 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6213, allocations: 0 / 1.589 GB, free: 2.727 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001151/0.6225, allocations: 0.5064 MB / 1.59 GB, free: 2.219 MB / 1.279 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.001771/0.6242, allocations: 0.5443 MB / 1.59 GB, free: 1.824 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0009217/0.6252, allocations: 0.5217 MB / 1.591 GB, free: 1.301 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6252, allocations: 4 kB / 1.591 GB, free: 1.297 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.000455/0.6256, allocations: 278.2 kB / 1.591 GB, free: 1.027 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.6274, allocations: 439.1 kB / 1.592 GB, free: 0.5977 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/0.6332, allocations: 4.185 MB / 1.596 GB, free: 12.36 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.6343, allocations: 1.064 MB / 1.597 GB, free: 11.26 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008601/0.6352, allocations: 369.2 kB / 1.597 GB, free: 10.89 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.6355, allocations: 115.4 kB / 1.597 GB, free: 10.78 MB / 1.295 GB Notification: Performance of SimCode: time 4.21e-07/0.6355, allocations: 0 / 1.597 GB, free: 10.78 MB / 1.295 GB Notification: Performance of Templates: time 0.5868/1.222, allocations: 24.61 MB / 1.621 GB, free: 276.1 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & ./Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.94102409100742]