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.001922/0.001922, 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.00246/0.00246, allocations: 207.2 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.13/3.13, allocations: 0.49 GB / 0.7959 GB, free: 35.37 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.002141/0.002141, allocations: 67.55 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3342, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2442/0.5784, allocations: 193.4 MB / 1.516 GB, free: 14.84 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03366/0.6121, allocations: 24.34 MB / 1.54 GB, free: 6.422 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.6137, allocations: 39.69 kB / 1.54 GB, free: 6.383 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.6166, allocations: 1.131 MB / 1.541 GB, free: 5.246 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008189/0.6248, allocations: 3.234 MB / 1.544 GB, free: 2 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00454/0.6293, allocations: 1.733 MB / 1.546 GB, free: 280 kB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005567/0.6349, allocations: 3.849 MB / 1.549 GB, free: 12.41 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.6371, allocations: 1.129 MB / 1.551 GB, free: 11.25 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005578/0.6427, allocations: 2.401 MB / 1.553 GB, free: 8.836 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002695/0.6454, allocations: 1.53 MB / 1.554 GB, free: 7.301 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003724/0.6457, allocations: 124 kB / 1.554 GB, free: 7.18 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004514/0.6502, allocations: 1.605 MB / 1.556 GB, free: 5.57 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.6513, allocations: 0.8721 MB / 1.557 GB, free: 4.695 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.6527, allocations: 0.9285 MB / 1.558 GB, free: 3.762 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005/0.6577, allocations: 2.965 MB / 1.561 GB, free: 0.7852 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.6577, allocations: 3.984 kB / 1.561 GB, free: 0.7812 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6577, allocations: 0 / 1.561 GB, free: 0.7812 MB / 1.248 GB Notification: Performance of Transformations before backend: time 4.229e-05/0.6578, allocations: 0 / 1.561 GB, free: 0.7812 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.004758/0.6625, allocations: 2.791 MB / 1.563 GB, free: 13.94 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.6626, allocations: 12.02 kB / 1.563 GB, free: 13.93 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.6646, allocations: 461.9 kB / 1.564 GB, free: 13.48 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/0.6681, allocations: 1.432 MB / 1.565 GB, free: 11.99 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.848e-05/0.6682, allocations: 98.53 kB / 1.565 GB, free: 11.89 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.6684, allocations: 131.9 kB / 1.566 GB, free: 11.76 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/0.6711, allocations: 1.595 MB / 1.567 GB, free: 10.02 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.585e-05/0.6711, allocations: 11.92 kB / 1.567 GB, free: 10.01 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.6712, allocations: 59.94 kB / 1.567 GB, free: 9.953 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.6714, allocations: 89.89 kB / 1.567 GB, free: 9.863 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.6732, allocations: 1.065 MB / 1.568 GB, free: 8.797 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008764/0.682, allocations: 6.155 MB / 1.574 GB, free: 2.441 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.6832, allocations: 0.709 MB / 1.575 GB, free: 1.688 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004913/0.6837, allocations: 288.1 kB / 1.575 GB, free: 1.391 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003593/0.684, allocations: 87.94 kB / 1.575 GB, free: 1.305 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.6841, allocations: 46.5 kB / 1.575 GB, free: 1.25 MB / 1.264 GB Notification: Performance of pre-optimization done (n=50): time 2.565e-06/0.6841, allocations: 0 / 1.575 GB, free: 1.25 MB / 1.264 GB Notification: Performance of matching and sorting (n=50): time 0.001831/0.6859, allocations: 0.9352 MB / 1.576 GB, free: 316 kB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.686, allocations: 166.2 kB / 1.576 GB, free: 112 kB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003442/0.6895, allocations: 2.561 MB / 1.579 GB, free: 13.51 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.818e-05/0.6895, allocations: 37.7 kB / 1.579 GB, free: 13.46 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009216/0.6904, allocations: 1.068 MB / 1.58 GB, free: 12.39 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.6906, allocations: 190.4 kB / 1.58 GB, free: 12.2 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.6908, allocations: 98.14 kB / 1.58 GB, free: 12.1 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.6909, allocations: 326 kB / 1.581 GB, free: 11.77 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.6913, allocations: 216.9 kB / 1.581 GB, free: 11.56 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005085/0.6918, allocations: 373.6 kB / 1.581 GB, free: 11.15 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009375/0.6928, allocations: 0.5522 MB / 1.582 GB, free: 10.57 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6928, allocations: 0 / 1.582 GB, free: 10.57 MB / 1.279 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001369/0.6942, allocations: 0.7654 MB / 1.582 GB, free: 9.793 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.6942, allocations: 4 kB / 1.582 GB, free: 9.789 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.6942, allocations: 4 kB / 1.582 GB, free: 9.785 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.6942, allocations: 7.938 kB / 1.582 GB, free: 9.777 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.6946, allocations: 107.8 kB / 1.583 GB, free: 9.672 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.6947, allocations: 12.23 kB / 1.583 GB, free: 9.66 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006453/0.6953, allocations: 39.84 kB / 1.583 GB, free: 9.621 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.6954, allocations: 27.92 kB / 1.583 GB, free: 9.594 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.0008257/0.6962, allocations: 0.5404 MB / 1.583 GB, free: 9.043 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003414/0.6965, allocations: 190.7 kB / 1.583 GB, free: 8.855 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.6979, allocations: 0.7642 MB / 1.584 GB, free: 8.082 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.6979, allocations: 4 kB / 1.584 GB, free: 8.078 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.698, allocations: 4 kB / 1.584 GB, free: 8.074 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.698, allocations: 7.984 kB / 1.584 GB, free: 8.066 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/0.7012, allocations: 1.727 MB / 1.586 GB, free: 6.277 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7012, allocations: 96 / 1.586 GB, free: 6.277 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004814/0.7017, allocations: 99.83 kB / 1.586 GB, free: 6.18 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.7017, allocations: 7.984 kB / 1.586 GB, free: 6.172 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/0.7018, allocations: 19.98 kB / 1.586 GB, free: 6.152 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.705e-05/0.7018, allocations: 8.188 kB / 1.586 GB, free: 6.145 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7018, allocations: 0 / 1.586 GB, free: 6.145 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.7036, allocations: 1.233 MB / 1.587 GB, free: 4.875 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006958/0.7043, allocations: 266.5 kB / 1.587 GB, free: 4.613 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.7045, allocations: 16 kB / 1.587 GB, free: 4.598 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005679/0.7051, allocations: 19.98 kB / 1.587 GB, free: 4.578 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.763e-05/0.7052, allocations: 36.31 kB / 1.587 GB, free: 4.543 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.7052, allocations: 24 kB / 1.587 GB, free: 4.52 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002498/0.7077, allocations: 1.828 MB / 1.589 GB, free: 2.672 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.7077, allocations: 4 kB / 1.589 GB, free: 2.668 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001351/0.709, allocations: 0.5025 MB / 1.59 GB, free: 2.164 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.001894/0.7109, allocations: 0.5487 MB / 1.59 GB, free: 1.762 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.712, allocations: 0.5177 MB / 1.591 GB, free: 1.242 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.712, allocations: 0.5 kB / 1.591 GB, free: 1.242 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0004815/0.7125, allocations: 290.2 kB / 1.591 GB, free: 0.9609 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.7146, allocations: 432.1 kB / 1.592 GB, free: 0.5391 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/0.7212, allocations: 4.18 MB / 1.596 GB, free: 12.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.7225, allocations: 1.06 MB / 1.597 GB, free: 11.21 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00109/0.7236, allocations: 373.2 kB / 1.597 GB, free: 10.84 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.7239, allocations: 119.4 kB / 1.597 GB, free: 10.72 MB / 1.295 GB Notification: Performance of SimCode: time 1.152e-06/0.7239, allocations: 0 / 1.597 GB, free: 10.72 MB / 1.295 GB Notification: Performance of Templates: time 0.6573/1.381, 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 cvode -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: 10.378614109009504]