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.001349/0.001349, allocations: 93.52 kB / 16.3 MB, free: 5.656 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.001609/0.00161, allocations: 188.2 kB / 17.2 MB, free: 5.594 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.459/1.459, allocations: 223.2 MB / 241.1 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9554/0.9554, allocations: 120.5 MB / 412.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004156, allocations: 8 kB / 0.4955 GB, free: 9.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.203, allocations: 82.85 MB / 0.5764 GB, free: 6.832 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001742/0.2048, allocations: 1.061 MB / 0.5774 GB, free: 5.758 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009105/0.2057, allocations: 487.7 kB / 0.5779 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.808e-05/0.2058, allocations: 3.938 kB / 0.5779 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.206, allocations: 15.92 kB / 0.5779 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.2063, allocations: 43.86 kB / 0.5779 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.2064, allocations: 27.91 kB / 0.578 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.2069, allocations: 371.4 kB / 0.5783 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.004e-05/0.207, allocations: 4.188 kB / 0.5783 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00042/0.2074, allocations: 199.8 kB / 0.5785 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005781/0.208, allocations: 271.5 kB / 0.5788 GB, free: 4.363 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.2081, allocations: 31.98 kB / 0.5788 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.2083, allocations: 51.97 kB / 0.5788 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.2086, allocations: 211.6 kB / 0.579 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.2089, allocations: 89.52 kB / 0.5791 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.2093, allocations: 283.6 kB / 0.5794 GB, free: 3.703 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2093, allocations: 0 / 0.5794 GB, free: 3.703 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.2093, allocations: 0 / 0.5794 GB, free: 3.703 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.2093, allocations: 0 / 0.5794 GB, free: 3.703 MB / 446.1 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.002164/0.2115, allocations: 0.8522 MB / 0.5802 GB, free: 2.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.2116, allocations: 8.031 kB / 0.5802 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.2117, allocations: 67.31 kB / 0.5803 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/0.2123, allocations: 314.3 kB / 0.5806 GB, free: 2.383 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.2124, allocations: 29 kB / 0.5806 GB, free: 2.352 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.2125, allocations: 55.91 kB / 0.5807 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.2135, allocations: 0.584 MB / 0.5813 GB, free: 1.707 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.2135, allocations: 4 kB / 0.5813 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.476e-05/0.2136, allocations: 12 kB / 0.5813 GB, free: 1.691 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.2136, allocations: 12 kB / 0.5813 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.2147, allocations: 0.5894 MB / 0.5819 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.2157, allocations: 0.6175 MB / 0.5825 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5956/0.8114, allocations: 1.355 MB / 0.5838 GB, free: 16.42 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.8117, allocations: 103.1 kB / 0.5839 GB, free: 16.32 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.8117, allocations: 43 kB / 0.5839 GB, free: 16.29 MB / 446.3 MB Notification: Performance of pre-optimization done (n=103): time 3.547e-06/0.8117, allocations: 3.844 kB / 0.5839 GB, free: 16.29 MB / 446.3 MB Notification: Performance of matching and sorting (n=103): time 0.002703/0.8144, allocations: 1.348 MB / 0.5852 GB, free: 16.21 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.8145, allocations: 62.23 kB / 0.5853 GB, free: 16.14 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.8147, allocations: 177.8 kB / 0.5855 GB, free: 16.04 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 6.029e-05/0.8148, allocations: 41.95 kB / 0.5855 GB, free: 16.01 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.8149, allocations: 107.5 kB / 0.5856 GB, free: 15.93 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/0.8152, allocations: 408 kB / 0.586 GB, free: 15.69 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.8152, allocations: 20.22 kB / 0.586 GB, free: 15.69 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8154, allocations: 371 kB / 0.5864 GB, free: 15.38 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008891/0.8163, allocations: 467.4 kB / 0.5868 GB, free: 15.34 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008777/0.8172, allocations: 479.9 kB / 0.5873 GB, free: 15.21 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009544/0.8181, allocations: 0.5503 MB / 0.5878 GB, free: 15.04 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.8181, allocations: 1.031 kB / 0.5878 GB, free: 15.04 MB / 446.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002179/0.8203, allocations: 1.242 MB / 0.589 GB, free: 14.64 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.8203, allocations: 4.594 kB / 0.589 GB, free: 14.64 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.8204, allocations: 0.7812 kB / 0.589 GB, free: 14.64 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.8204, allocations: 8.234 kB / 0.589 GB, free: 14.64 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.8215, allocations: 268.3 kB / 0.5893 GB, free: 14.62 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.8216, allocations: 6.438 kB / 0.5893 GB, free: 14.62 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003944/0.822, allocations: 72.59 kB / 0.5894 GB, free: 14.56 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.473e-05/0.8221, allocations: 38.8 kB / 0.5894 GB, free: 14.55 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003002/0.8224, allocations: 214.6 kB / 0.5896 GB, free: 14.38 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.862e-05/0.8225, allocations: 50.61 kB / 0.5897 GB, free: 14.36 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/0.8256, allocations: 1.389 MB / 0.591 GB, free: 13.86 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.703e-05/0.8256, allocations: 13.28 kB / 0.591 GB, free: 13.86 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.8256, allocations: 0.9375 kB / 0.591 GB, free: 13.86 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/0.8256, allocations: 7.406 kB / 0.591 GB, free: 13.86 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.8269, allocations: 0.7495 MB / 0.5918 GB, free: 13.48 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.8269, allocations: 1.219 kB / 0.5918 GB, free: 13.48 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/0.8285, allocations: 309.6 kB / 0.5921 GB, free: 13.45 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.595e-05/0.8285, allocations: 8.641 kB / 0.5921 GB, free: 13.45 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.8286, allocations: 46.25 kB / 0.5921 GB, free: 13.43 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.8286, allocations: 4.125 kB / 0.5921 GB, free: 13.43 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8286, allocations: 1.062 kB / 0.5921 GB, free: 13.43 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003122/0.8317, allocations: 1.838 MB / 0.5939 GB, free: 12.8 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004307/0.8322, allocations: 259.7 kB / 0.5942 GB, free: 12.64 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.8323, allocations: 42.02 kB / 0.5942 GB, free: 12.62 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.8326, allocations: 28.12 kB / 0.5942 GB, free: 12.6 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.8328, allocations: 83.44 kB / 0.5943 GB, free: 12.59 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-05/0.8329, allocations: 42.7 kB / 0.5944 GB, free: 12.59 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.0001036/0.833, allocations: 133 kB / 0.5945 GB, free: 12.5 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.833, allocations: 0 / 0.5945 GB, free: 12.5 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0005816/0.8336, allocations: 228.8 kB / 0.5947 GB, free: 12.46 MB / 446.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 (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.00025/0.8339, allocations: 167.5 kB / 0.5949 GB, free: 12.34 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.001986/0.8359, allocations: 1.138 MB / 0.596 GB, free: 12.05 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.8359, allocations: 0 / 0.596 GB, free: 12.05 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.8369, allocations: 0.6383 MB / 0.5966 GB, free: 11.87 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.8373, allocations: 85.22 kB / 0.5967 GB, free: 11.83 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.8421, allocations: 3.342 MB / 0.5999 GB, free: 9.906 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006317/0.8428, allocations: 0.9371 MB / 0.6009 GB, free: 9.191 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0009497/0.8437, allocations: 367 kB / 0.6012 GB, free: 9.129 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.844, allocations: 93.39 kB / 0.6013 GB, free: 9.109 MB / 446.3 MB Notification: Performance of SimCode: time 1.142e-06/0.844, allocations: 0 / 0.6013 GB, free: 9.109 MB / 446.3 MB Notification: Performance of Templates: time 0.01741/0.8615, allocations: 8.704 MB / 0.6098 GB, free: 5.215 MB / 446.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/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