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.001338/0.001338, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001532/0.001532, allocations: 213.3 kB / 22.25 MB, free: 4.855 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.797 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.217/3.217, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 176] 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.003304/0.003304, allocations: 68.42 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3312, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2405/0.5717, allocations: 193.4 MB / 1.514 GB, free: 15.82 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03528/0.607, allocations: 24.34 MB / 1.538 GB, free: 7.406 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.6086, allocations: 47.62 kB / 1.538 GB, free: 7.359 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003015/0.6116, allocations: 1.127 MB / 1.539 GB, free: 6.227 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009099/0.6207, allocations: 3.232 MB / 1.542 GB, free: 2.984 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004964/0.6257, allocations: 1.722 MB / 1.544 GB, free: 1.266 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005456/0.6312, allocations: 3.837 MB / 1.548 GB, free: 13.41 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.6334, allocations: 1.121 MB / 1.549 GB, free: 12.26 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005245/0.6386, allocations: 2.397 MB / 1.551 GB, free: 9.852 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002558/0.6412, allocations: 1.471 MB / 1.553 GB, free: 8.375 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0004041/0.6416, allocations: 128 kB / 1.553 GB, free: 8.25 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003829/0.6454, allocations: 1.57 MB / 1.554 GB, free: 6.676 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.6464, allocations: 0.876 MB / 1.555 GB, free: 5.797 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001585/0.648, allocations: 0.9247 MB / 1.556 GB, free: 4.867 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004995/0.653, allocations: 2.972 MB / 1.559 GB, free: 1.883 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.653, allocations: 4 kB / 1.559 GB, free: 1.879 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.212e-06/0.653, allocations: 0 / 1.559 GB, free: 1.879 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.405e-05/0.6531, allocations: 0 / 1.559 GB, free: 1.879 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.004481/0.6575, allocations: 2.791 MB / 1.562 GB, free: 15.04 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.6576, allocations: 12.03 kB / 1.562 GB, free: 15.03 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.6594, allocations: 457.9 kB / 1.562 GB, free: 14.58 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002591/0.6619, allocations: 1.432 MB / 1.564 GB, free: 13.09 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.052e-05/0.662, allocations: 94.53 kB / 1.564 GB, free: 13 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.6622, allocations: 128 kB / 1.564 GB, free: 12.87 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.6647, allocations: 1.603 MB / 1.565 GB, free: 11.12 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.238e-05/0.6647, allocations: 7.938 kB / 1.565 GB, free: 11.12 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.97e-05/0.6648, allocations: 52 kB / 1.565 GB, free: 11.07 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001138/0.6649, allocations: 89.95 kB / 1.566 GB, free: 10.98 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.6668, allocations: 1.062 MB / 1.567 GB, free: 9.914 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00729/0.674, allocations: 6.167 MB / 1.573 GB, free: 3.547 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.6752, allocations: 0.7052 MB / 1.573 GB, free: 2.797 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.6756, allocations: 296.1 kB / 1.574 GB, free: 2.492 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003435/0.676, allocations: 79.94 kB / 1.574 GB, free: 2.414 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.676, allocations: 66.47 kB / 1.574 GB, free: 2.34 MB / 1.264 GB Notification: Performance of pre-optimization done (n=50): time 2.605e-06/0.676, allocations: 0 / 1.574 GB, free: 2.34 MB / 1.264 GB Notification: Performance of matching and sorting (n=50): time 0.001778/0.6778, allocations: 0.9309 MB / 1.575 GB, free: 1.402 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.6779, allocations: 162.2 kB / 1.575 GB, free: 1.207 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/0.6812, allocations: 2.561 MB / 1.577 GB, free: 14.6 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.754e-05/0.6812, allocations: 34.2 kB / 1.577 GB, free: 14.56 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009182/0.6822, allocations: 1.072 MB / 1.578 GB, free: 13.48 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.6823, allocations: 186.3 kB / 1.579 GB, free: 13.3 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.6825, allocations: 94.14 kB / 1.579 GB, free: 13.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6826, allocations: 330 kB / 1.579 GB, free: 12.88 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.683, allocations: 216.9 kB / 1.579 GB, free: 12.66 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005241/0.6836, allocations: 377.6 kB / 1.58 GB, free: 12.25 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008938/0.6845, allocations: 0.5483 MB / 1.58 GB, free: 11.67 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.6845, allocations: 0 / 1.58 GB, free: 11.67 MB / 1.279 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001382/0.6858, allocations: 0.7694 MB / 1.581 GB, free: 10.89 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.6859, allocations: 4 kB / 1.581 GB, free: 10.89 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.6859, allocations: 4 kB / 1.581 GB, free: 10.88 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.6859, allocations: 7.938 kB / 1.581 GB, free: 10.88 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.6863, allocations: 107.8 kB / 1.581 GB, free: 10.77 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.6863, allocations: 8 kB / 1.581 GB, free: 10.76 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005936/0.6869, allocations: 43.72 kB / 1.581 GB, free: 10.72 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.687, allocations: 20 kB / 1.581 GB, free: 10.7 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.0008194/0.6878, allocations: 0.5468 MB / 1.582 GB, free: 10.14 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.6881, allocations: 194.7 kB / 1.582 GB, free: 9.953 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.6894, allocations: 0.7564 MB / 1.582 GB, free: 9.188 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.6894, allocations: 8 kB / 1.582 GB, free: 9.18 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6894, allocations: 0 / 1.582 GB, free: 9.18 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.6895, allocations: 7.984 kB / 1.582 GB, free: 9.172 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.6924, allocations: 1.727 MB / 1.584 GB, free: 7.383 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6924, allocations: 4 kB / 1.584 GB, free: 7.379 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.6929, allocations: 95.89 kB / 1.584 GB, free: 7.285 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.6929, allocations: 4 kB / 1.584 GB, free: 7.281 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.6929, allocations: 15.98 kB / 1.584 GB, free: 7.266 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/0.6929, allocations: 7.938 kB / 1.584 GB, free: 7.258 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6929, allocations: 4 kB / 1.584 GB, free: 7.254 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.6948, allocations: 1.23 MB / 1.585 GB, free: 5.988 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006342/0.6954, allocations: 270.5 kB / 1.586 GB, free: 5.723 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.6956, allocations: 12 kB / 1.586 GB, free: 5.711 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005305/0.6961, allocations: 19.98 kB / 1.586 GB, free: 5.691 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/0.6962, allocations: 40.31 kB / 1.586 GB, free: 5.652 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.6962, allocations: 19.98 kB / 1.586 GB, free: 5.633 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002385/0.6986, allocations: 1.832 MB / 1.588 GB, free: 3.781 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.6986, allocations: 0 / 1.588 GB, free: 3.781 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001179/0.6998, allocations: 0.5065 MB / 1.588 GB, free: 3.273 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.001813/0.7016, allocations: 0.5506 MB / 1.589 GB, free: 2.871 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.7026, allocations: 0.5216 MB / 1.589 GB, free: 2.348 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7026, allocations: 0 / 1.589 GB, free: 2.348 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0004686/0.7031, allocations: 283 kB / 1.589 GB, free: 2.074 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.705, allocations: 441.4 kB / 1.59 GB, free: 1.645 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006517/0.7115, allocations: 4.179 MB / 1.594 GB, free: 13.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.7127, allocations: 1.064 MB / 1.595 GB, free: 12.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00104/0.7138, allocations: 377.2 kB / 1.595 GB, free: 11.93 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.7141, allocations: 123.4 kB / 1.595 GB, free: 11.81 MB / 1.295 GB Notification: Performance of SimCode: time 1.042e-06/0.7141, allocations: 0 / 1.595 GB, free: 11.81 MB / 1.295 GB Notification: Performance of Templates: time 0.6524/1.366, allocations: 24.47 MB / 1.619 GB, free: 276.3 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 -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/jenkins/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: 10.450103228911757]