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.0008829/0.000883, allocations: 87.78 kB / 16.31 MB, free: 6.461 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.0009513/0.0009516, allocations: 185.8 kB / 17.21 MB, free: 6.324 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.424/1.424, allocations: 223.2 MB / 241.2 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.128/1.128, allocations: 120.5 MB / 412.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.000355, allocations: 12 kB / 0.4956 GB, free: 10.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6313/0.6317, allocations: 82.84 MB / 0.5765 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001287/0.6331, allocations: 1.079 MB / 0.5775 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007766/0.6339, allocations: 493.6 kB / 0.578 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.6339, allocations: 0 / 0.578 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.379e-05/0.634, allocations: 5.312 kB / 0.578 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.6343, allocations: 54.92 kB / 0.578 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.121e-05/0.6344, allocations: 37.52 kB / 0.5781 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000284/0.6347, allocations: 302.2 kB / 0.5784 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.944e-05/0.6348, allocations: 8.516 kB / 0.5784 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.635, allocations: 113.5 kB / 0.5785 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.6353, allocations: 174.8 kB / 0.5787 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.666e-05/0.6353, allocations: 15.94 kB / 0.5787 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.6354, allocations: 36.92 kB / 0.5787 GB, free: 40.76 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.6356, allocations: 127.4 kB / 0.5788 GB, free: 40.68 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.6356, allocations: 64.7 kB / 0.5789 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.6358, allocations: 159.2 kB / 0.579 GB, free: 40.55 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.6358, allocations: 0 / 0.579 GB, free: 40.55 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.594e-06/0.6359, allocations: 0 / 0.579 GB, free: 40.55 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.6359, allocations: 0.9375 kB / 0.579 GB, free: 40.55 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.001068/0.6369, allocations: 0.5705 MB / 0.5796 GB, free: 40.07 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.637, allocations: 9.219 kB / 0.5796 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/0.6371, allocations: 28.61 kB / 0.5796 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.6374, allocations: 245.4 kB / 0.5799 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.6374, allocations: 24.73 kB / 0.5799 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.6375, allocations: 24.59 kB / 0.5799 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.638, allocations: 315.3 kB / 0.5802 GB, free: 39.6 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.6381, allocations: 7.922 kB / 0.5802 GB, free: 39.59 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.6381, allocations: 5.844 kB / 0.5802 GB, free: 39.59 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.6381, allocations: 5.531 kB / 0.5802 GB, free: 39.59 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004336/0.6386, allocations: 294.9 kB / 0.5805 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004703/0.639, allocations: 393 kB / 0.5809 GB, free: 39.14 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.6407, allocations: 0.6732 MB / 0.5815 GB, free: 38.84 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.641, allocations: 232.2 kB / 0.5818 GB, free: 38.73 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.6412, allocations: 96.27 kB / 0.5819 GB, free: 38.63 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.6413, allocations: 41.47 kB / 0.5819 GB, free: 38.59 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 2.295e-06/0.6413, allocations: 0 / 0.5819 GB, free: 38.59 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001214/0.6425, allocations: 0.6996 MB / 0.5826 GB, free: 38.26 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.6425, allocations: 60.75 kB / 0.5826 GB, free: 38.19 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.6427, allocations: 142.4 kB / 0.5828 GB, free: 38.06 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.6427, allocations: 42.78 kB / 0.5828 GB, free: 38.02 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.6427, allocations: 92.89 kB / 0.5829 GB, free: 37.93 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.6429, allocations: 207.5 kB / 0.5831 GB, free: 37.75 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.6429, allocations: 9.469 kB / 0.5831 GB, free: 37.74 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.896e-05/0.643, allocations: 340.2 kB / 0.5834 GB, free: 37.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.6433, allocations: 238.4 kB / 0.5837 GB, free: 37.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.6437, allocations: 240.8 kB / 0.5839 GB, free: 37.2 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.6441, allocations: 283.7 kB / 0.5842 GB, free: 37.07 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.6442, allocations: 4.938 kB / 0.5842 GB, free: 37.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009786/0.6451, allocations: 0.6424 MB / 0.5848 GB, free: 36.76 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.6452, allocations: 5.156 kB / 0.5848 GB, free: 36.76 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.6452, allocations: 5.172 kB / 0.5848 GB, free: 36.76 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.6452, allocations: 2.344 kB / 0.5848 GB, free: 36.76 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005682/0.6458, allocations: 139.1 kB / 0.5849 GB, free: 36.73 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.6458, allocations: 6.109 kB / 0.5849 GB, free: 36.73 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.646, allocations: 38.81 kB / 0.585 GB, free: 36.7 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.474e-05/0.6461, allocations: 22.56 kB / 0.585 GB, free: 36.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.6462, allocations: 162 kB / 0.5852 GB, free: 36.54 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.6463, allocations: 28.84 kB / 0.5852 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.6475, allocations: 0.7258 MB / 0.5859 GB, free: 36.13 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.6475, allocations: 11.5 kB / 0.5859 GB, free: 36.13 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.6475, allocations: 1.25 kB / 0.5859 GB, free: 36.13 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.6475, allocations: 7.938 kB / 0.5859 GB, free: 36.12 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.6481, allocations: 463.2 kB / 0.5864 GB, free: 35.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6481, allocations: 0 / 0.5864 GB, free: 35.75 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007188/0.6488, allocations: 168 kB / 0.5865 GB, free: 35.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.6488, allocations: 4 kB / 0.5865 GB, free: 35.61 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.6489, allocations: 19.98 kB / 0.5865 GB, free: 35.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.6489, allocations: 4 kB / 0.5865 GB, free: 35.59 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6489, allocations: 0 / 0.5865 GB, free: 35.59 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.6501, allocations: 0.9696 MB / 0.5875 GB, free: 34.61 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.6503, allocations: 172.5 kB / 0.5877 GB, free: 34.42 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.6504, allocations: 20 kB / 0.5877 GB, free: 34.4 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.6506, allocations: 15.94 kB / 0.5877 GB, free: 34.38 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.6506, allocations: 48.58 kB / 0.5877 GB, free: 34.33 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.6507, allocations: 19.98 kB / 0.5878 GB, free: 34.31 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.028e-05/0.6507, allocations: 111.2 kB / 0.5879 GB, free: 34.2 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6507, allocations: 0 / 0.5879 GB, free: 34.2 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003782/0.6511, allocations: 128 kB / 0.588 GB, free: 34.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001867/0.6513, allocations: 127.6 kB / 0.5881 GB, free: 33.95 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0007488/0.6521, allocations: 0.5833 MB / 0.5887 GB, free: 33.36 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6521, allocations: 0 / 0.5887 GB, free: 33.36 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.6524, allocations: 323.6 kB / 0.589 GB, free: 33.05 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.6528, allocations: 52.73 kB / 0.589 GB, free: 33 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.6548, allocations: 1.787 MB / 0.5908 GB, free: 31.19 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.6551, allocations: 0.8015 MB / 0.5916 GB, free: 30.36 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003845/0.6555, allocations: 183.1 kB / 0.5917 GB, free: 30.18 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.6556, allocations: 47.42 kB / 0.5918 GB, free: 30.14 MB / 462.3 MB Notification: Performance of SimCode: time 5.82e-07/0.6556, allocations: 0 / 0.5918 GB, free: 30.14 MB / 462.3 MB Notification: Performance of Templates: time 0.007809/0.6634, allocations: 4.685 MB / 0.5964 GB, free: 25.49 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches