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.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.001781/0.001781, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002285/0.002285, allocations: 212.7 kB / 23.01 MB, free: 4.566 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.46/3.46, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002133/0.002133, allocations: 63.06 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4538, allocations: 180.2 MB / 1.354 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2893/0.743, allocations: 222.7 MB / 1.572 GB, free: 8.379 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.04531/0.7883, allocations: 27.12 MB / 1.598 GB, free: 13.18 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003056/0.7914, allocations: 39.69 kB / 1.598 GB, free: 13.14 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005795/0.7972, allocations: 1.193 MB / 1.599 GB, free: 11.94 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01753/0.8147, allocations: 3.367 MB / 1.603 GB, free: 8.559 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.009391/0.8241, allocations: 1.728 MB / 1.604 GB, free: 6.832 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01237/0.8365, allocations: 3.933 MB / 1.608 GB, free: 2.891 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00496/0.8414, allocations: 1.156 MB / 1.609 GB, free: 1.699 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 1.107/1.949, allocations: 2.417 MB / 1.612 GB, free: 8.688 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004463/1.953, allocations: 1.586 MB / 1.613 GB, free: 8.688 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0007351/1.954, allocations: 132.2 kB / 1.613 GB, free: 8.688 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006882/1.961, allocations: 1.962 MB / 1.615 GB, free: 8.688 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001923/1.963, allocations: 0.8731 MB / 1.616 GB, free: 8.688 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.003154/1.966, allocations: 1.171 MB / 1.617 GB, free: 8.688 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.008497/1.974, allocations: 3.046 MB / 1.62 GB, free: 8.457 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.974, allocations: 2.719 kB / 1.62 GB, free: 8.457 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.874e-06/1.974, allocations: 0 / 1.62 GB, free: 8.457 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001198/1.975, allocations: 0.5 kB / 1.62 GB, free: 8.457 MB / 1.295 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.006751/1.981, allocations: 2.827 MB / 1.623 GB, free: 7.016 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.981, allocations: 12.16 kB / 1.623 GB, free: 7.016 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00462/1.986, allocations: 0.7224 MB / 1.624 GB, free: 6.859 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003834/1.99, allocations: 1.472 MB / 1.625 GB, free: 6.348 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/1.99, allocations: 95.59 kB / 1.625 GB, free: 6.344 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003188/1.99, allocations: 122.9 kB / 1.625 GB, free: 6.344 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00428/1.995, allocations: 1.794 MB / 1.627 GB, free: 5.949 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.518e-05/1.995, allocations: 8.469 kB / 1.627 GB, free: 5.949 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/1.995, allocations: 52.09 kB / 1.627 GB, free: 5.949 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001981/1.995, allocations: 98.89 kB / 1.627 GB, free: 5.945 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/1.998, allocations: 1.355 MB / 1.628 GB, free: 5.938 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/2.012, allocations: 8.38 MB / 1.637 GB, free: 16.66 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00307/2.015, allocations: 1.135 MB / 1.638 GB, free: 16.54 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/2.016, allocations: 446.7 kB / 1.638 GB, free: 16.5 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/2.016, allocations: 36.39 kB / 1.638 GB, free: 16.5 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/2.016, allocations: 40.69 kB / 1.638 GB, free: 16.46 MB / 1.311 GB Notification: Performance of pre-optimization done (n=50): time 4.568e-06/2.016, allocations: 5.281 kB / 1.638 GB, free: 16.46 MB / 1.311 GB Notification: Performance of matching and sorting (n=50): time 0.004477/2.02, allocations: 1.418 MB / 1.64 GB, free: 16.29 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/2.021, allocations: 169.2 kB / 1.64 GB, free: 16.09 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006721/2.027, allocations: 3.127 MB / 1.643 GB, free: 15.88 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0002345/2.028, allocations: 39.89 kB / 1.643 GB, free: 15.84 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/2.029, allocations: 1.056 MB / 1.644 GB, free: 15.62 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/2.029, allocations: 188.2 kB / 1.644 GB, free: 15.5 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/2.029, allocations: 101.5 kB / 1.644 GB, free: 15.48 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001746/2.029, allocations: 324.3 kB / 1.645 GB, free: 15.18 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/2.03, allocations: 377.2 kB / 1.645 GB, free: 15.18 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/2.032, allocations: 475.6 kB / 1.645 GB, free: 15.09 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/2.034, allocations: 0.8167 MB / 1.646 GB, free: 15 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/2.034, allocations: 0.6875 kB / 1.646 GB, free: 15 MB / 1.311 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003485/2.037, allocations: 1.111 MB / 1.647 GB, free: 14.82 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/2.037, allocations: 6.781 kB / 1.647 GB, free: 14.82 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/2.037, allocations: 3.25 kB / 1.647 GB, free: 14.82 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/2.037, allocations: 4.344 kB / 1.647 GB, free: 14.82 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009517/2.038, allocations: 155.1 kB / 1.647 GB, free: 14.82 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/2.038, allocations: 11.06 kB / 1.647 GB, free: 14.82 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/2.04, allocations: 143.3 kB / 1.648 GB, free: 14.76 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.145e-05/2.04, allocations: 24.2 kB / 1.648 GB, free: 14.76 MB / 1.311 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.001507/2.042, allocations: 0.542 MB / 1.648 GB, free: 14.65 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007364/2.042, allocations: 237.4 kB / 1.648 GB, free: 14.52 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/2.045, allocations: 1.086 MB / 1.649 GB, free: 14.45 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/2.045, allocations: 10.81 kB / 1.649 GB, free: 14.44 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/2.045, allocations: 2.25 kB / 1.649 GB, free: 14.44 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/2.045, allocations: 4.5 kB / 1.649 GB, free: 14.44 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004987/2.05, allocations: 2.199 MB / 1.652 GB, free: 13.86 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/2.05, allocations: 2 kB / 1.652 GB, free: 13.86 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009503/2.051, allocations: 146.1 kB / 1.652 GB, free: 13.86 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/2.051, allocations: 3.688 kB / 1.652 GB, free: 13.86 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/2.051, allocations: 20.44 kB / 1.652 GB, free: 13.86 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/2.051, allocations: 7.188 kB / 1.652 GB, free: 13.86 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/2.051, allocations: 4.859 kB / 1.652 GB, free: 13.86 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/2.055, allocations: 1.757 MB / 1.653 GB, free: 13.53 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/2.057, allocations: 349.5 kB / 1.654 GB, free: 13.39 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003412/2.057, allocations: 15.97 kB / 1.654 GB, free: 13.39 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/2.058, allocations: 61.91 kB / 1.654 GB, free: 13.39 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/2.058, allocations: 44.3 kB / 1.654 GB, free: 13.39 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/2.058, allocations: 23.23 kB / 1.654 GB, free: 13.39 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.004024/2.062, allocations: 2.245 MB / 1.656 GB, free: 13.24 MB / 1.311 GB Notification: Performance of sort global known variables: time 7e-08/2.062, allocations: 0 / 1.656 GB, free: 13.24 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002602/2.065, allocations: 498.7 kB / 1.657 GB, free: 13.18 MB / 1.311 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 (50): * Single equations (assignments): 50 * 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.002064/2.067, allocations: 0.5004 MB / 1.657 GB, free: 13.04 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.002414/2.069, allocations: 0.8219 MB / 1.658 GB, free: 13.04 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/2.069, allocations: 2.281 kB / 1.658 GB, free: 13.04 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/2.07, allocations: 437.5 kB / 1.658 GB, free: 13.03 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004919/2.075, allocations: 0.8753 MB / 1.659 GB, free: 12.9 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008622/2.084, allocations: 4.483 MB / 1.664 GB, free: 11.24 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/2.085, allocations: 1.619 MB / 1.665 GB, free: 10.5 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/2.087, allocations: 162.9 kB / 1.665 GB, free: 10.49 MB / 1.311 GB Notification: Performance of SimCode: time 2.184e-06/2.087, allocations: 1.641 kB / 1.665 GB, free: 10.49 MB / 1.311 GB Notification: Performance of Templates: time 0.07124/2.158, allocations: 36 MB / 1.7 GB, free: 3.156 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.11290365300374]