Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 107.5 kB / 16.92 MB, free: 6.332 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.001265/0.001265, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.279/1.279, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8342/0.8342, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.00152, allocations: 59.91 kB / 0.4923 GB, free: 12.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.428, allocations: 80.69 MB / 0.5711 GB, free: 43.73 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001913/0.4299, allocations: 1.383 MB / 0.5725 GB, free: 42.63 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006823/0.4306, allocations: 0.5127 MB / 0.573 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.4307, allocations: 0 / 0.573 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.16e-05/0.4308, allocations: 13.17 kB / 0.573 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.431, allocations: 50.17 kB / 0.573 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.497e-05/0.4312, allocations: 42.11 kB / 0.5731 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.4314, allocations: 316.8 kB / 0.5734 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.4314, allocations: 8.781 kB / 0.5734 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.4316, allocations: 124.6 kB / 0.5735 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.4318, allocations: 160.1 kB / 0.5736 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.258e-05/0.4318, allocations: 15.16 kB / 0.5737 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.923e-05/0.4319, allocations: 38.69 kB / 0.5737 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.4321, allocations: 116.5 kB / 0.5738 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.4322, allocations: 134.5 kB / 0.5739 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.4324, allocations: 235.7 kB / 0.5742 GB, free: 41.54 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4324, allocations: 0.8125 kB / 0.5742 GB, free: 41.54 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4324, allocations: 0 / 0.5742 GB, free: 41.54 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.4324, allocations: 0 / 0.5742 GB, free: 41.54 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009311/0.4333, allocations: 0.5809 MB / 0.5747 GB, free: 41.04 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.4334, allocations: 12.11 kB / 0.5747 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.423e-05/0.4335, allocations: 30.38 kB / 0.5748 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.4337, allocations: 255.7 kB / 0.575 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.4337, allocations: 13.53 kB / 0.575 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.4338, allocations: 33.19 kB / 0.5751 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.4342, allocations: 315.7 kB / 0.5754 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.4342, allocations: 0 / 0.5754 GB, free: 40.56 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.4343, allocations: 10.62 kB / 0.5754 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4343, allocations: 4.562 kB / 0.5754 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/0.4347, allocations: 291.2 kB / 0.5756 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.4351, allocations: 405.1 kB / 0.576 GB, free: 40.1 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.4366, allocations: 0.6837 MB / 0.5767 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.4369, allocations: 237.8 kB / 0.5769 GB, free: 39.68 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.437, allocations: 91.16 kB / 0.577 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.4371, allocations: 37.75 kB / 0.5771 GB, free: 39.54 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.563e-06/0.4371, allocations: 0 / 0.5771 GB, free: 39.54 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001057/0.4381, allocations: 0.6984 MB / 0.5777 GB, free: 39.2 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.4382, allocations: 61.38 kB / 0.5778 GB, free: 39.13 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.4383, allocations: 150.5 kB / 0.5779 GB, free: 39 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.4383, allocations: 35.55 kB / 0.578 GB, free: 38.96 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.4384, allocations: 92.83 kB / 0.5781 GB, free: 38.87 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.4385, allocations: 209.9 kB / 0.5783 GB, free: 38.69 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.4387, allocations: 106.3 kB / 0.5784 GB, free: 38.62 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.4387, allocations: 340 kB / 0.5787 GB, free: 38.29 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.4391, allocations: 241 kB / 0.5789 GB, free: 38.18 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.4395, allocations: 243 kB / 0.5791 GB, free: 38.08 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.4401, allocations: 0.5349 MB / 0.5797 GB, free: 37.82 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4402, allocations: 5.219 kB / 0.5797 GB, free: 37.82 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008203/0.441, allocations: 0.647 MB / 0.5803 GB, free: 37.52 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.441, allocations: 5.062 kB / 0.5803 GB, free: 37.52 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.441, allocations: 0 / 0.5803 GB, free: 37.52 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.441, allocations: 2.5 kB / 0.5803 GB, free: 37.52 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/0.4415, allocations: 143.5 kB / 0.5804 GB, free: 37.48 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4416, allocations: 6.438 kB / 0.5805 GB, free: 37.48 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.4417, allocations: 39.09 kB / 0.5805 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.4418, allocations: 25.86 kB / 0.5805 GB, free: 37.44 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 (74): * Single equations (assignments): 74 * 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.0001135/0.4419, allocations: 158 kB / 0.5807 GB, free: 37.29 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.4419, allocations: 25.59 kB / 0.5807 GB, free: 37.28 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.443, allocations: 0.7269 MB / 0.5814 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.443, allocations: 7.562 kB / 0.5814 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.443, allocations: 3.938 kB / 0.5814 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.443, allocations: 9.234 kB / 0.5814 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.4434, allocations: 462 kB / 0.5819 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4434, allocations: 0.9062 kB / 0.5819 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007103/0.4441, allocations: 158.1 kB / 0.582 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.4442, allocations: 2.531 kB / 0.582 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/0.4442, allocations: 23.3 kB / 0.582 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4442, allocations: 2.375 kB / 0.582 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4442, allocations: 3.938 kB / 0.582 GB, free: 36.47 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.4454, allocations: 0.9629 MB / 0.583 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.4455, allocations: 177.8 kB / 0.5832 GB, free: 35.84 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.4456, allocations: 23.89 kB / 0.5832 GB, free: 35.83 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.4458, allocations: 15.03 kB / 0.5832 GB, free: 35.82 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.4459, allocations: 46.88 kB / 0.5832 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.4459, allocations: 17.78 kB / 0.5833 GB, free: 35.79 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.4459, allocations: 113.3 kB / 0.5834 GB, free: 35.7 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.446, allocations: 0 / 0.5834 GB, free: 35.7 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003226/0.4463, allocations: 123 kB / 0.5835 GB, free: 35.68 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0001469/0.4464, allocations: 135.4 kB / 0.5836 GB, free: 35.56 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.4476, allocations: 0.8384 MB / 0.5844 GB, free: 35.3 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4476, allocations: 1.344 kB / 0.5844 GB, free: 35.3 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003636/0.448, allocations: 330 kB / 0.5847 GB, free: 35.15 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.4483, allocations: 55.92 kB / 0.5848 GB, free: 35.09 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.4499, allocations: 1.511 MB / 0.5863 GB, free: 33.55 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.4501, allocations: 0.8089 MB / 0.5871 GB, free: 32.71 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.4504, allocations: 175.1 kB / 0.5872 GB, free: 32.55 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.4505, allocations: 51.42 kB / 0.5873 GB, free: 32.5 MB / 462.3 MB Notification: Performance of SimCode: time 2.7e-07/0.4505, allocations: 0 / 0.5873 GB, free: 32.5 MB / 462.3 MB Notification: Performance of Templates: time 0.006772/0.4573, allocations: 5.224 MB / 0.5924 GB, free: 27.32 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches