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.001055/0.001055, allocations: 106.1 kB / 16.92 MB, free: 6.184 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.001115/0.001115, allocations: 191.5 kB / 17.85 MB, free: 5.328 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.229/1.229, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8316/0.8316, allocations: 119.3 MB / 411 MB, free: 9.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 55.91 kB / 0.4923 GB, free: 12.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4013, allocations: 80.69 MB / 0.5711 GB, free: 43.97 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001854/0.4032, allocations: 1.375 MB / 0.5724 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006124/0.4038, allocations: 0.5216 MB / 0.573 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.4039, allocations: 0 / 0.573 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 5.883e-05/0.4039, allocations: 7.922 kB / 0.573 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.4042, allocations: 55.8 kB / 0.573 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.633e-05/0.4043, allocations: 45.25 kB / 0.5731 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.4046, allocations: 0.5443 MB / 0.5736 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.4047, allocations: 6.875 kB / 0.5736 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.4048, allocations: 199.4 kB / 0.5738 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.4051, allocations: 287.9 kB / 0.5741 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.306e-05/0.4052, allocations: 30.09 kB / 0.5741 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.4053, allocations: 48.58 kB / 0.5741 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.4055, allocations: 242.1 kB / 0.5744 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.4057, allocations: 227.3 kB / 0.5746 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.406, allocations: 440.5 kB / 0.575 GB, free: 41.3 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.406, allocations: 0 / 0.575 GB, free: 41.3 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.102e-06/0.406, allocations: 0 / 0.575 GB, free: 41.3 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.406, allocations: 1.25 kB / 0.575 GB, free: 41.3 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.00137/0.4074, allocations: 0.8204 MB / 0.5758 GB, free: 40.68 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.4075, allocations: 12.39 kB / 0.5758 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.909e-05/0.4076, allocations: 52.59 kB / 0.5759 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.4079, allocations: 324 kB / 0.5762 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.4079, allocations: 32.47 kB / 0.5762 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.225e-05/0.408, allocations: 68.95 kB / 0.5763 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006999/0.4087, allocations: 0.5779 MB / 0.5768 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4087, allocations: 9.297 kB / 0.5768 GB, free: 39.97 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/0.4088, allocations: 18.75 kB / 0.5769 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.4088, allocations: 11 kB / 0.5769 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007127/0.4095, allocations: 0.5809 MB / 0.5774 GB, free: 39.72 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006502/0.4101, allocations: 0.6225 MB / 0.5781 GB, free: 39.25 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/0.413, allocations: 1.36 MB / 0.5794 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005362/0.4135, allocations: 452 kB / 0.5798 GB, free: 38.45 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.4137, allocations: 111.9 kB / 0.5799 GB, free: 38.33 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.4137, allocations: 40.62 kB / 0.58 GB, free: 38.29 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 2.043e-06/0.4137, allocations: 0 / 0.58 GB, free: 38.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.001833/0.4156, allocations: 1.346 MB / 0.5813 GB, free: 37.69 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.4156, allocations: 62.78 kB / 0.5813 GB, free: 37.63 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.4157, allocations: 180.6 kB / 0.5815 GB, free: 37.49 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.4158, allocations: 41.11 kB / 0.5815 GB, free: 37.45 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.34e-05/0.4158, allocations: 103.8 kB / 0.5816 GB, free: 37.35 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.416, allocations: 411.5 kB / 0.582 GB, free: 36.99 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.4162, allocations: 195.1 kB / 0.5822 GB, free: 36.88 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.979e-05/0.4163, allocations: 371.4 kB / 0.5826 GB, free: 36.52 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006109/0.4169, allocations: 470.5 kB / 0.583 GB, free: 36.32 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/0.4176, allocations: 489 kB / 0.5835 GB, free: 36.11 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.4189, allocations: 1.047 MB / 0.5845 GB, free: 35.62 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4189, allocations: 0 / 0.5845 GB, free: 35.62 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001354/0.4202, allocations: 1.24 MB / 0.5857 GB, free: 34.46 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4203, allocations: 12 kB / 0.5857 GB, free: 34.45 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4203, allocations: 0 / 0.5857 GB, free: 34.45 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4203, allocations: 4 kB / 0.5857 GB, free: 34.44 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008897/0.4212, allocations: 283.6 kB / 0.586 GB, free: 34.16 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.4212, allocations: 4 kB / 0.586 GB, free: 34.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.4216, allocations: 79.06 kB / 0.5861 GB, free: 34.08 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/0.4216, allocations: 35.98 kB / 0.5861 GB, free: 34.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 (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.0001753/0.4218, allocations: 209.5 kB / 0.5863 GB, free: 33.83 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.799e-05/0.4219, allocations: 43.53 kB / 0.5864 GB, free: 33.79 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.4236, allocations: 1.396 MB / 0.5877 GB, free: 32.38 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.4236, allocations: 15.94 kB / 0.5877 GB, free: 32.37 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4236, allocations: 0 / 0.5877 GB, free: 32.37 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.4236, allocations: 7.984 kB / 0.5877 GB, free: 32.36 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006359/0.4243, allocations: 0.7438 MB / 0.5885 GB, free: 31.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.4243, allocations: 11.92 kB / 0.5885 GB, free: 31.55 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.4255, allocations: 299.7 kB / 0.5888 GB, free: 31.26 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.4255, allocations: 4 kB / 0.5888 GB, free: 31.26 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.242e-05/0.4256, allocations: 51.95 kB / 0.5888 GB, free: 31.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.4256, allocations: 4 kB / 0.5888 GB, free: 31.2 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4256, allocations: 0 / 0.5888 GB, free: 31.2 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.4276, allocations: 1.858 MB / 0.5906 GB, free: 29.33 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.4278, allocations: 252 kB / 0.5909 GB, free: 29.06 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.673e-05/0.4279, allocations: 43.97 kB / 0.5909 GB, free: 29.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.4283, allocations: 24 kB / 0.591 GB, free: 29 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.4284, allocations: 77.2 kB / 0.591 GB, free: 28.92 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.4284, allocations: 39.98 kB / 0.5911 GB, free: 28.88 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.131e-05/0.4285, allocations: 136.3 kB / 0.5912 GB, free: 28.75 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4285, allocations: 0 / 0.5912 GB, free: 28.75 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004029/0.4289, allocations: 232 kB / 0.5914 GB, free: 28.52 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.0001697/0.4291, allocations: 163 kB / 0.5916 GB, free: 28.35 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002496/0.4316, allocations: 2.088 MB / 0.5936 GB, free: 26.26 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4316, allocations: 0 / 0.5936 GB, free: 26.26 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.4322, allocations: 0.6358 MB / 0.5942 GB, free: 25.63 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.4326, allocations: 103.9 kB / 0.5943 GB, free: 25.53 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.4355, allocations: 2.832 MB / 0.5971 GB, free: 22.66 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.4357, allocations: 0.9275 MB / 0.598 GB, free: 21.71 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006204/0.4364, allocations: 368.8 kB / 0.5984 GB, free: 21.35 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.4366, allocations: 87.41 kB / 0.5984 GB, free: 21.27 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.4366, allocations: 0 / 0.5984 GB, free: 21.27 MB / 462.3 MB Notification: Performance of Templates: time 0.01108/0.4477, allocations: 9.766 MB / 0.608 GB, free: 11.56 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches