Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001208/0.001208, allocations: 111.8 kB / 17.29 MB, free: 6.219 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.001182/0.001182, allocations: 193.3 kB / 18.21 MB, free: 5.293 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.273/1.273, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8986/0.8986, allocations: 119.3 MB / 411.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.88 kB / 0.4924 GB, free: 12.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.4872, allocations: 80.68 MB / 0.5712 GB, free: 43.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002167/0.4894, allocations: 1.449 MB / 0.5726 GB, free: 42.78 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006985/0.4901, allocations: 0.5018 MB / 0.5731 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.4902, allocations: 9.156 kB / 0.5731 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.089e-05/0.4903, allocations: 7.984 kB / 0.5731 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.4905, allocations: 51.17 kB / 0.5732 GB, free: 42.34 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.537e-05/0.4907, allocations: 34.95 kB / 0.5732 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.4909, allocations: 195.5 kB / 0.5734 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.4909, allocations: 5.125 kB / 0.5734 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.491, allocations: 75.52 kB / 0.5735 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.4912, allocations: 100.5 kB / 0.5736 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.4912, allocations: 11.69 kB / 0.5736 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.522e-05/0.4913, allocations: 32.34 kB / 0.5736 GB, free: 42.11 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.71e-05/0.4914, allocations: 64.88 kB / 0.5737 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.104e-05/0.4915, allocations: 67.34 kB / 0.5737 GB, free: 42.03 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.4916, allocations: 93.55 kB / 0.5738 GB, free: 41.98 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4916, allocations: 1.281 kB / 0.5738 GB, free: 41.98 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4916, allocations: 3.938 kB / 0.5738 GB, free: 41.98 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.4916, allocations: 0 / 0.5738 GB, free: 41.98 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.0007504/0.4924, allocations: 474.5 kB / 0.5743 GB, free: 41.54 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4925, allocations: 13.61 kB / 0.5743 GB, free: 41.53 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.4925, allocations: 16.84 kB / 0.5743 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.4927, allocations: 217 kB / 0.5745 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.4927, allocations: 12.27 kB / 0.5745 GB, free: 41.29 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.4928, allocations: 16.78 kB / 0.5746 GB, free: 41.28 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.4931, allocations: 180 kB / 0.5747 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.4931, allocations: 0.9688 kB / 0.5747 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.4931, allocations: 5.125 kB / 0.5747 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4931, allocations: 2.438 kB / 0.5747 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.4933, allocations: 144.3 kB / 0.5749 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.4936, allocations: 285.6 kB / 0.5751 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009165/0.4945, allocations: 358.1 kB / 0.5755 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.4947, allocations: 120.8 kB / 0.5756 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.4949, allocations: 100.3 kB / 0.5757 GB, free: 40.51 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.4949, allocations: 35.75 kB / 0.5757 GB, free: 40.46 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 1.282e-06/0.4949, allocations: 0 / 0.5757 GB, free: 40.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0005925/0.4955, allocations: 381.8 kB / 0.5761 GB, free: 40.29 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.4955, allocations: 54.97 kB / 0.5762 GB, free: 40.22 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.316e-05/0.4956, allocations: 136.9 kB / 0.5763 GB, free: 40.1 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4956, allocations: 29.7 kB / 0.5763 GB, free: 40.07 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.653e-05/0.4957, allocations: 95.72 kB / 0.5764 GB, free: 39.97 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.757e-05/0.4957, allocations: 99.47 kB / 0.5765 GB, free: 39.89 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.898e-05/0.4958, allocations: 73.48 kB / 0.5766 GB, free: 39.84 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.445e-05/0.4959, allocations: 330.5 kB / 0.5769 GB, free: 39.51 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.496, allocations: 125.1 kB / 0.577 GB, free: 39.45 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.4962, allocations: 127.4 kB / 0.5771 GB, free: 39.39 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.4966, allocations: 275.2 kB / 0.5774 GB, free: 39.27 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4966, allocations: 1.375 kB / 0.5774 GB, free: 39.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000443/0.497, allocations: 354.8 kB / 0.5777 GB, free: 39.09 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.497, allocations: 5.5 kB / 0.5777 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.497, allocations: 4 kB / 0.5777 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.4971, allocations: 5.375 kB / 0.5777 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.4974, allocations: 79.48 kB / 0.5778 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4974, allocations: 1.062 kB / 0.5778 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.4975, allocations: 24.38 kB / 0.5778 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.4975, allocations: 8.125 kB / 0.5778 GB, free: 39.05 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 8.641e-05/0.4976, allocations: 140 kB / 0.578 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.4976, allocations: 11.69 kB / 0.578 GB, free: 38.91 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/0.4982, allocations: 406 kB / 0.5784 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.4983, allocations: 4.625 kB / 0.5784 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.4983, allocations: 0 / 0.5784 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.4983, allocations: 3.984 kB / 0.5784 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.4985, allocations: 318.9 kB / 0.5787 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4985, allocations: 4 kB / 0.5787 GB, free: 38.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.499, allocations: 83.19 kB / 0.5788 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.499, allocations: 1.844 kB / 0.5788 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.499, allocations: 13.52 kB / 0.5788 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.499, allocations: 1.844 kB / 0.5788 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.499, allocations: 3.938 kB / 0.5788 GB, free: 38.35 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007627/0.4998, allocations: 0.5266 MB / 0.5793 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 9.373e-05/0.4999, allocations: 124.3 kB / 0.5794 GB, free: 37.95 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.4999, allocations: 20.55 kB / 0.5794 GB, free: 37.93 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.5001, allocations: 9.844 kB / 0.5795 GB, free: 37.93 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.5001, allocations: 19.03 kB / 0.5795 GB, free: 37.92 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.5001, allocations: 12.31 kB / 0.5795 GB, free: 37.91 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.541e-05/0.5002, allocations: 103.2 kB / 0.5796 GB, free: 37.83 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5002, allocations: 0.9375 kB / 0.5796 GB, free: 37.83 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002603/0.5005, allocations: 72.7 kB / 0.5797 GB, free: 37.81 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.0001408/0.5006, allocations: 116 kB / 0.5798 GB, free: 37.71 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0005815/0.5012, allocations: 386.1 kB / 0.5801 GB, free: 37.57 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5012, allocations: 0 / 0.5801 GB, free: 37.57 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.5014, allocations: 169.2 kB / 0.5803 GB, free: 37.51 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.5017, allocations: 41.39 kB / 0.5803 GB, free: 37.48 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.5028, allocations: 0.9482 MB / 0.5813 GB, free: 36.77 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.5029, allocations: 0.7485 MB / 0.582 GB, free: 36.04 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.5031, allocations: 31.61 kB / 0.582 GB, free: 36.04 MB / 462.3 MB Notification: Performance of SimCode: time 2.71e-07/0.5031, allocations: 0 / 0.582 GB, free: 36.04 MB / 462.3 MB Notification: Performance of Templates: time 0.004239/0.5073, allocations: 2.966 MB / 0.5849 GB, free: 34.5 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches