Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001455, allocations: 117.2 kB / 17.74 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 186.9 kB / 20.68 MB, free: 2.422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 222.9 MB / 246.4 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.044/1.044, allocations: 119.3 MB / 417.9 MB, free: 12.02 MB / 350.1 MB " [Timeout remaining time 178] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.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(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 67.89 kB / 0.5809 GB, free: 11.24 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/0.774, allocations: 80.69 MB / 0.6597 GB, free: 13.76 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002428/0.7764, allocations: 1.388 MB / 0.661 GB, free: 12.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009116/0.7774, allocations: 0.514 MB / 0.6615 GB, free: 12.24 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.7774, allocations: 4.844 kB / 0.6615 GB, free: 12.24 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.7776, allocations: 8.859 kB / 0.6615 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.7779, allocations: 54.48 kB / 0.6616 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.7781, allocations: 46.03 kB / 0.6616 GB, free: 12.16 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0006159/0.7787, allocations: 0.5448 MB / 0.6622 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.001e-05/0.7787, allocations: 10.64 kB / 0.6622 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.779, allocations: 194.7 kB / 0.6624 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004418/0.7795, allocations: 288.2 kB / 0.6626 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-05/0.7796, allocations: 29.91 kB / 0.6627 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.7798, allocations: 52.22 kB / 0.6627 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.78, allocations: 234.6 kB / 0.663 GB, free: 11.46 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000291/0.7803, allocations: 234.7 kB / 0.6632 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005042/0.7809, allocations: 442.5 kB / 0.6636 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7809, allocations: 1.031 kB / 0.6636 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7809, allocations: 0 / 0.6636 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.7809, allocations: 4 kB / 0.6636 GB, free: 11.06 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001766/0.7827, allocations: 0.8243 MB / 0.6644 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.7827, allocations: 12.7 kB / 0.6644 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.7828, allocations: 48.62 kB / 0.6645 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.7833, allocations: 331.8 kB / 0.6648 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.7833, allocations: 37.41 kB / 0.6648 GB, free: 10.09 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.7834, allocations: 56.75 kB / 0.6649 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009589/0.7844, allocations: 0.5936 MB / 0.6655 GB, free: 9.723 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.7844, allocations: 0 / 0.6655 GB, free: 9.723 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.7845, allocations: 15.81 kB / 0.6655 GB, free: 9.711 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.7845, allocations: 10.06 kB / 0.6655 GB, free: 9.711 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009273/0.7854, allocations: 0.5814 MB / 0.666 GB, free: 9.48 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008014/0.7862, allocations: 0.6152 MB / 0.6666 GB, free: 9.027 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/0.7897, allocations: 1.364 MB / 0.668 GB, free: 8.426 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006903/0.7904, allocations: 460 kB / 0.6684 GB, free: 8.211 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.7906, allocations: 105 kB / 0.6685 GB, free: 8.105 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.7907, allocations: 42.72 kB / 0.6686 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 2.545e-06/0.7907, allocations: 1.25 kB / 0.6686 GB, free: 8.059 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.0022/0.7929, allocations: 1.347 MB / 0.6699 GB, free: 7.457 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.7929, allocations: 67 kB / 0.6699 GB, free: 7.387 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.7931, allocations: 171.7 kB / 0.6701 GB, free: 7.254 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.7932, allocations: 41.55 kB / 0.6701 GB, free: 7.211 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.7932, allocations: 111.5 kB / 0.6702 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.7935, allocations: 429.6 kB / 0.6707 GB, free: 6.727 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/0.7938, allocations: 195.5 kB / 0.6708 GB, free: 6.617 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.7939, allocations: 375.1 kB / 0.6712 GB, free: 6.258 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007094/0.7946, allocations: 470.8 kB / 0.6716 GB, free: 6.055 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007383/0.7953, allocations: 486.1 kB / 0.6721 GB, free: 5.844 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.7968, allocations: 1.043 MB / 0.6731 GB, free: 5.359 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7969, allocations: 0 / 0.6731 GB, free: 5.359 MB / 0.4983 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00185/0.7987, allocations: 1.252 MB / 0.6744 GB, free: 4.785 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.7987, allocations: 5.5 kB / 0.6744 GB, free: 4.785 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.7988, allocations: 0 / 0.6744 GB, free: 4.785 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.7988, allocations: 5.5 kB / 0.6744 GB, free: 4.785 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.7998, allocations: 271.6 kB / 0.6746 GB, free: 4.73 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.7999, allocations: 4.125 kB / 0.6746 GB, free: 4.73 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/0.8003, allocations: 73.16 kB / 0.6747 GB, free: 4.672 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/0.8003, allocations: 43.48 kB / 0.6747 GB, free: 4.656 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (144): * Single equations (assignments): 144 * 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.0002338/0.8006, allocations: 212 kB / 0.6749 GB, free: 4.477 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.8007, allocations: 55.7 kB / 0.675 GB, free: 4.445 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.803, allocations: 1.387 MB / 0.6763 GB, free: 3.727 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.803, allocations: 17.83 kB / 0.6764 GB, free: 3.723 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.803, allocations: 4.875 kB / 0.6764 GB, free: 3.719 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.803, allocations: 7.969 kB / 0.6764 GB, free: 3.711 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009522/0.804, allocations: 0.7414 MB / 0.6771 GB, free: 3.18 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.804, allocations: 0.9375 kB / 0.6771 GB, free: 3.18 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.8054, allocations: 308.2 kB / 0.6774 GB, free: 3.117 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.8054, allocations: 5.531 kB / 0.6774 GB, free: 3.117 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.714e-05/0.8055, allocations: 44.25 kB / 0.6774 GB, free: 3.094 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/0.8056, allocations: 4.594 kB / 0.6774 GB, free: 3.094 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.8056, allocations: 0 / 0.6774 GB, free: 3.094 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/0.8083, allocations: 1.865 MB / 0.6793 GB, free: 2.211 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/0.8086, allocations: 252.2 kB / 0.6795 GB, free: 2.016 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.8087, allocations: 39.66 kB / 0.6795 GB, free: 1.992 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.8091, allocations: 24.62 kB / 0.6796 GB, free: 1.973 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.8092, allocations: 82.69 kB / 0.6796 GB, free: 1.93 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.799e-05/0.8093, allocations: 50.39 kB / 0.6797 GB, free: 1.895 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 8.285e-05/0.8094, allocations: 136.3 kB / 0.6798 GB, free: 1.762 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1e-07/0.8094, allocations: 4 kB / 0.6798 GB, free: 1.758 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0005298/0.81, allocations: 232 kB / 0.6801 GB, free: 1.531 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0002316/0.8102, allocations: 162.9 kB / 0.6802 GB, free: 1.363 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.8116, allocations: 1.159 MB / 0.6813 GB, free: 208 kB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8116, allocations: 0 / 0.6813 GB, free: 208 kB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0009008/0.8125, allocations: 0.6358 MB / 0.682 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.813, allocations: 107.9 kB / 0.6821 GB, free: 15.46 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.8174, allocations: 2.846 MB / 0.6848 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.818, allocations: 0.9221 MB / 0.6857 GB, free: 11.64 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0008161/0.8189, allocations: 368.8 kB / 0.6861 GB, free: 11.27 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.8192, allocations: 87.41 kB / 0.6862 GB, free: 11.19 MB / 0.5139 GB Notification: Performance of SimCode: time 3.21e-07/0.8192, allocations: 0 / 0.6862 GB, free: 11.19 MB / 0.5139 GB Notification: Performance of Templates: time 0.01837/0.8375, allocations: 9.997 MB / 0.6959 GB, free: 1.246 MB / 0.5139 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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: 15.77751303394325]