Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) 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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 108.8 kB / 16.92 MB, free: 5.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 191.3 kB / 17.85 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.174/1.174, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7927/0.7927, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 67.88 kB / 0.4923 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.411, allocations: 80.68 MB / 0.5711 GB, free: 43.81 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002109/0.4131, allocations: 1.383 MB / 0.5724 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006617/0.4138, allocations: 0.513 MB / 0.5729 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.808e-05/0.4139, allocations: 0 / 0.5729 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.901e-05/0.4139, allocations: 9.062 kB / 0.573 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.4142, allocations: 54.81 kB / 0.573 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.936e-05/0.4143, allocations: 37.08 kB / 0.573 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.4145, allocations: 192.5 kB / 0.5732 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.4145, allocations: 16.08 kB / 0.5732 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 9.754e-05/0.4146, allocations: 77.3 kB / 0.5733 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.4148, allocations: 92.42 kB / 0.5734 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.4148, allocations: 7.969 kB / 0.5734 GB, free: 42.04 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.906e-05/0.4149, allocations: 35.05 kB / 0.5734 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.437e-05/0.415, allocations: 70.08 kB / 0.5735 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.4151, allocations: 66.88 kB / 0.5736 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.4153, allocations: 139.5 kB / 0.5737 GB, free: 41.87 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4153, allocations: 0 / 0.5737 GB, free: 41.87 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4153, allocations: 0 / 0.5737 GB, free: 41.87 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.4153, allocations: 0 / 0.5737 GB, free: 41.87 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006574/0.4159, allocations: 479.9 kB / 0.5742 GB, free: 41.42 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.416, allocations: 12.33 kB / 0.5742 GB, free: 41.42 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.416, allocations: 21 kB / 0.5742 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.4162, allocations: 216.4 kB / 0.5744 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.4162, allocations: 12.17 kB / 0.5744 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.4163, allocations: 17 kB / 0.5744 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.4165, allocations: 182.6 kB / 0.5746 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4165, allocations: 0 / 0.5746 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.4165, allocations: 5.406 kB / 0.5746 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.4166, allocations: 7.062 kB / 0.5746 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.4168, allocations: 143.8 kB / 0.5748 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.417, allocations: 280.9 kB / 0.575 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008788/0.4179, allocations: 353.1 kB / 0.5754 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.4181, allocations: 120.1 kB / 0.5755 GB, free: 40.5 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.4182, allocations: 96.05 kB / 0.5756 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.4182, allocations: 37.25 kB / 0.5756 GB, free: 40.35 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.172e-06/0.4183, allocations: 0 / 0.5756 GB, free: 40.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0005675/0.4188, allocations: 384.1 kB / 0.576 GB, free: 40.16 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.4189, allocations: 54.5 kB / 0.576 GB, free: 40.1 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.042e-05/0.4189, allocations: 138.3 kB / 0.5762 GB, free: 39.98 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.419, allocations: 35.27 kB / 0.5762 GB, free: 39.94 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.419, allocations: 87.39 kB / 0.5763 GB, free: 39.86 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.22e-05/0.4191, allocations: 115.1 kB / 0.5764 GB, free: 39.75 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.4191, allocations: 59.72 kB / 0.5764 GB, free: 39.71 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.4192, allocations: 337.1 kB / 0.5768 GB, free: 39.38 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.4193, allocations: 120.6 kB / 0.5769 GB, free: 39.33 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.4195, allocations: 129.8 kB / 0.577 GB, free: 39.27 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.4199, allocations: 276.3 kB / 0.5773 GB, free: 39.15 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4199, allocations: 5.312 kB / 0.5773 GB, free: 39.14 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000439/0.4203, allocations: 354.7 kB / 0.5776 GB, free: 38.97 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4203, allocations: 5.594 kB / 0.5776 GB, free: 38.97 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.4203, allocations: 0 / 0.5776 GB, free: 38.97 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.4204, allocations: 10.33 kB / 0.5776 GB, free: 38.96 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.4206, allocations: 78.8 kB / 0.5777 GB, free: 38.95 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4207, allocations: 1.25 kB / 0.5777 GB, free: 38.95 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.4208, allocations: 23.22 kB / 0.5777 GB, free: 38.93 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.4208, allocations: 7.562 kB / 0.5777 GB, free: 38.93 MB / 462.3 MB 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 (39): * Single equations (assignments): 39 * 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 7.924e-05/0.4209, allocations: 145 kB / 0.5779 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.4209, allocations: 12.19 kB / 0.5779 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005654/0.4215, allocations: 398.7 kB / 0.5783 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4215, allocations: 8.125 kB / 0.5783 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4215, allocations: 0 / 0.5783 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4215, allocations: 3.984 kB / 0.5783 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.4217, allocations: 314 kB / 0.5786 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4218, allocations: 3.984 kB / 0.5786 GB, free: 38.26 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.4222, allocations: 83.25 kB / 0.5786 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4222, allocations: 1.844 kB / 0.5786 GB, free: 38.25 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.4222, allocations: 13.52 kB / 0.5787 GB, free: 38.24 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.4222, allocations: 1.844 kB / 0.5787 GB, free: 38.24 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4222, allocations: 4.875 kB / 0.5787 GB, free: 38.23 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007287/0.4229, allocations: 0.5259 MB / 0.5792 GB, free: 37.95 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.423, allocations: 124.5 kB / 0.5793 GB, free: 37.83 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.4231, allocations: 9.375 kB / 0.5793 GB, free: 37.83 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4232, allocations: 10.75 kB / 0.5793 GB, free: 37.82 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.4232, allocations: 21.67 kB / 0.5793 GB, free: 37.81 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.4232, allocations: 11.78 kB / 0.5794 GB, free: 37.8 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.077e-05/0.4233, allocations: 99.95 kB / 0.5794 GB, free: 37.72 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4233, allocations: 0 / 0.5794 GB, free: 37.72 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000271/0.4236, allocations: 72.81 kB / 0.5795 GB, free: 37.71 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.0001283/0.4237, allocations: 117.2 kB / 0.5796 GB, free: 37.61 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.4242, allocations: 386.1 kB / 0.58 GB, free: 37.47 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4242, allocations: 0 / 0.58 GB, free: 37.47 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.4244, allocations: 166.1 kB / 0.5802 GB, free: 37.41 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.4247, allocations: 51.14 kB / 0.5802 GB, free: 37.37 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.4257, allocations: 0.8515 MB / 0.581 GB, free: 36.76 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.4259, allocations: 0.7485 MB / 0.5818 GB, free: 36.03 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.4261, allocations: 88.14 kB / 0.5819 GB, free: 36 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.683e-05/0.4262, allocations: 37.08 kB / 0.5819 GB, free: 35.98 MB / 462.3 MB Notification: Performance of SimCode: time 3.91e-07/0.4262, allocations: 0 / 0.5819 GB, free: 35.98 MB / 462.3 MB Notification: Performance of Templates: time 0.005297/0.4315, allocations: 2.969 MB / 0.5848 GB, free: 34.55 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches