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) 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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,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=43200,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 115 kB / 16.63 MB, free: 6.812 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.001074/0.001074, allocations: 190 kB / 17.55 MB, free: 5.93 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.187/1.187, allocations: 222.9 MB / 241.2 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.776/0.776, allocations: 119.3 MB / 410.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 63.91 kB / 0.4918 GB, free: 12.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3768, allocations: 80.68 MB / 0.5706 GB, free: 43.83 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001858/0.3787, allocations: 1.443 MB / 0.572 GB, free: 42.68 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006009/0.3794, allocations: 0.5171 MB / 0.5725 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.3794, allocations: 0 / 0.5725 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.053e-05/0.3795, allocations: 12.89 kB / 0.5725 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.3797, allocations: 46.98 kB / 0.5726 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.805e-05/0.3798, allocations: 39.17 kB / 0.5726 GB, free: 42.21 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.3802, allocations: 0.5439 MB / 0.5731 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.3802, allocations: 6.125 kB / 0.5731 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.3804, allocations: 202.5 kB / 0.5733 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.3807, allocations: 300.2 kB / 0.5736 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.952e-05/0.3808, allocations: 30.12 kB / 0.5736 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.3809, allocations: 48.02 kB / 0.5737 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.3811, allocations: 246.1 kB / 0.5739 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.3812, allocations: 239.8 kB / 0.5741 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.3815, allocations: 431.5 kB / 0.5746 GB, free: 41.11 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3815, allocations: 0.9375 kB / 0.5746 GB, free: 41.11 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3816, allocations: 0 / 0.5746 GB, free: 41.11 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.3816, allocations: 4 kB / 0.5746 GB, free: 41.11 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.00141/0.383, allocations: 0.8163 MB / 0.5754 GB, free: 40.49 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.383, allocations: 14.05 kB / 0.5754 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.3831, allocations: 47.44 kB / 0.5754 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.3834, allocations: 319.5 kB / 0.5757 GB, free: 40.17 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3834, allocations: 32.91 kB / 0.5758 GB, free: 40.15 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.311e-05/0.3835, allocations: 61.42 kB / 0.5758 GB, free: 40.12 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/0.3843, allocations: 0.5898 MB / 0.5764 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3843, allocations: 0 / 0.5764 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/0.3844, allocations: 15.22 kB / 0.5764 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.3844, allocations: 10.81 kB / 0.5764 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007002/0.3851, allocations: 0.5816 MB / 0.577 GB, free: 39.54 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006451/0.3857, allocations: 0.6224 MB / 0.5776 GB, free: 39.07 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/0.3886, allocations: 1.365 MB / 0.5789 GB, free: 38.47 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005161/0.3891, allocations: 455.2 kB / 0.5794 GB, free: 38.26 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.3893, allocations: 107.9 kB / 0.5795 GB, free: 38.15 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.3893, allocations: 44.62 kB / 0.5795 GB, free: 38.11 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 1.973e-06/0.3893, allocations: 0 / 0.5795 GB, free: 38.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.001802/0.3911, allocations: 1.342 MB / 0.5808 GB, free: 37.51 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.3911, allocations: 66.14 kB / 0.5809 GB, free: 37.44 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3913, allocations: 177.3 kB / 0.581 GB, free: 37.3 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.81e-05/0.3913, allocations: 45.39 kB / 0.5811 GB, free: 37.26 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.3914, allocations: 111.7 kB / 0.5812 GB, free: 37.15 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.3915, allocations: 399 kB / 0.5816 GB, free: 36.8 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.3918, allocations: 198.9 kB / 0.5818 GB, free: 36.69 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.454e-05/0.3918, allocations: 372.2 kB / 0.5821 GB, free: 36.34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005776/0.3924, allocations: 470.2 kB / 0.5826 GB, free: 36.13 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/0.393, allocations: 493.1 kB / 0.583 GB, free: 35.91 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.3943, allocations: 1.043 MB / 0.5841 GB, free: 35.43 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3943, allocations: 1.25 kB / 0.5841 GB, free: 35.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001373/0.3956, allocations: 1.241 MB / 0.5853 GB, free: 34.38 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3957, allocations: 11.98 kB / 0.5853 GB, free: 34.36 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3957, allocations: 4 kB / 0.5853 GB, free: 34.36 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3957, allocations: 4 kB / 0.5853 GB, free: 34.36 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008658/0.3966, allocations: 271.6 kB / 0.5855 GB, free: 34.09 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3966, allocations: 7.938 kB / 0.5856 GB, free: 34.08 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.3969, allocations: 79.06 kB / 0.5856 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.397, allocations: 39.98 kB / 0.5857 GB, free: 33.96 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 (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.0001742/0.3971, allocations: 209.5 kB / 0.5859 GB, free: 33.75 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/0.3972, allocations: 43.53 kB / 0.5859 GB, free: 33.71 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.3989, allocations: 1.392 MB / 0.5873 GB, free: 32.31 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3989, allocations: 16 kB / 0.5873 GB, free: 32.29 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3989, allocations: 0 / 0.5873 GB, free: 32.29 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.3989, allocations: 7.969 kB / 0.5873 GB, free: 32.29 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006084/0.3995, allocations: 0.7426 MB / 0.588 GB, free: 31.49 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3995, allocations: 4 kB / 0.588 GB, free: 31.49 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.4008, allocations: 303.7 kB / 0.5883 GB, free: 31.19 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.4008, allocations: 4 kB / 0.5883 GB, free: 31.19 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.28e-05/0.4008, allocations: 47.97 kB / 0.5884 GB, free: 31.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.4009, allocations: 8 kB / 0.5884 GB, free: 31.13 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4009, allocations: 3.938 kB / 0.5884 GB, free: 31.13 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.4027, allocations: 1.846 MB / 0.5902 GB, free: 29.26 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.4029, allocations: 252 kB / 0.5904 GB, free: 29 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.403, allocations: 47.97 kB / 0.5905 GB, free: 28.95 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/0.4034, allocations: 24 kB / 0.5905 GB, free: 28.93 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.4035, allocations: 81.19 kB / 0.5906 GB, free: 28.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.693e-05/0.4035, allocations: 43.98 kB / 0.5906 GB, free: 28.8 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.584e-05/0.4036, allocations: 124.3 kB / 0.5907 GB, free: 28.68 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4036, allocations: 0 / 0.5907 GB, free: 28.68 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003877/0.404, allocations: 236 kB / 0.5909 GB, free: 28.45 MB / 462.3 MB 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.0001749/0.4042, allocations: 159.8 kB / 0.5911 GB, free: 28.29 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.00248/0.4067, allocations: 2.092 MB / 0.5931 GB, free: 26.2 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4067, allocations: 0 / 0.5931 GB, free: 26.2 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006683/0.4073, allocations: 0.6397 MB / 0.5938 GB, free: 25.55 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.4078, allocations: 107.9 kB / 0.5939 GB, free: 25.45 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.411, allocations: 3.052 MB / 0.5968 GB, free: 22.37 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.4113, allocations: 0.9274 MB / 0.5978 GB, free: 21.41 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006298/0.412, allocations: 368.8 kB / 0.5981 GB, free: 21.05 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/0.4122, allocations: 95.34 kB / 0.5982 GB, free: 20.96 MB / 462.3 MB Notification: Performance of SimCode: time 2.91e-07/0.4122, allocations: 3.938 kB / 0.5982 GB, free: 20.96 MB / 462.3 MB Notification: Performance of Templates: time 0.0112/0.4235, allocations: 9.743 MB / 0.6077 GB, free: 11.27 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (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) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches