Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_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_OB_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_OB_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.001376/0.001376, allocations: 105.2 kB / 17.01 MB, free: 5.789 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.001369/0.001369, allocations: 195.5 kB / 17.95 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.4379/0.4379, allocations: 225.7 MB / 244.4 MB, free: 5.906 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6065/0.6065, allocations: 119.5 MB / 414.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009683/0.0009683, allocations: 63.91 kB / 0.4959 GB, free: 12.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4275, allocations: 80.69 MB / 0.5747 GB, free: 57.13 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001882/0.4294, allocations: 1.385 MB / 0.5761 GB, free: 56.17 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.0006817/0.4301, allocations: 0.5115 MB / 0.5766 GB, free: 55.82 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.4302, allocations: 0 / 0.5766 GB, free: 55.82 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 6.993e-05/0.4303, allocations: 12.08 kB / 0.5766 GB, free: 55.82 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.4305, allocations: 51.48 kB / 0.5766 GB, free: 55.79 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.4306, allocations: 40.91 kB / 0.5767 GB, free: 55.77 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.431, allocations: 0.5473 MB / 0.5772 GB, free: 55.62 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.4311, allocations: 7.516 kB / 0.5772 GB, free: 55.62 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.4313, allocations: 202.1 kB / 0.5774 GB, free: 55.56 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.4317, allocations: 286 kB / 0.5777 GB, free: 55.48 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 9.091e-05/0.4318, allocations: 29.38 kB / 0.5777 GB, free: 55.48 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.432, allocations: 54.03 kB / 0.5778 GB, free: 55.47 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.4322, allocations: 241.1 kB / 0.578 GB, free: 55.4 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.4324, allocations: 233.7 kB / 0.5782 GB, free: 55.29 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.4328, allocations: 440.2 kB / 0.5786 GB, free: 55.17 MB / 478.2 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4329, allocations: 1.844 kB / 0.5786 GB, free: 55.17 MB / 478.2 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4329, allocations: 0 / 0.5786 GB, free: 55.17 MB / 478.2 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.4329, allocations: 0 / 0.5786 GB, free: 55.17 MB / 478.2 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.001457/0.4343, allocations: 0.8134 MB / 0.5794 GB, free: 54.64 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.4344, allocations: 13.03 kB / 0.5794 GB, free: 54.64 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.4345, allocations: 47.94 kB / 0.5795 GB, free: 54.61 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.4348, allocations: 328.5 kB / 0.5798 GB, free: 54.36 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.4348, allocations: 29.86 kB / 0.5798 GB, free: 54.34 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.811e-05/0.4349, allocations: 62.5 kB / 0.5799 GB, free: 54.32 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008178/0.4358, allocations: 0.5821 MB / 0.5805 GB, free: 54.14 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4358, allocations: 1.078 kB / 0.5805 GB, free: 54.14 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/0.4358, allocations: 26.73 kB / 0.5805 GB, free: 54.12 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.4359, allocations: 14.94 kB / 0.5805 GB, free: 54.12 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007181/0.4366, allocations: 0.5844 MB / 0.5811 GB, free: 54 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/0.4372, allocations: 0.6162 MB / 0.5817 GB, free: 53.64 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.4399, allocations: 1.361 MB / 0.583 GB, free: 53.27 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.4405, allocations: 453.9 kB / 0.5834 GB, free: 53.13 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.4406, allocations: 107.4 kB / 0.5835 GB, free: 53.03 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.4406, allocations: 39.97 kB / 0.5836 GB, free: 52.98 MB / 478.2 MB Notification: Performance of pre-optimization done (n=103): time 1.673e-06/0.4406, allocations: 4 kB / 0.5836 GB, free: 52.98 MB / 478.2 MB Notification: Performance of matching and sorting (n=103): time 0.001795/0.4424, allocations: 1.347 MB / 0.5849 GB, free: 52.59 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.4425, allocations: 63.41 kB / 0.5849 GB, free: 52.52 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.4426, allocations: 178.8 kB / 0.5851 GB, free: 52.4 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.4427, allocations: 42.09 kB / 0.5852 GB, free: 52.36 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.4427, allocations: 106.5 kB / 0.5853 GB, free: 52.26 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.4429, allocations: 404.9 kB / 0.5856 GB, free: 51.95 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.4431, allocations: 196.8 kB / 0.5858 GB, free: 51.86 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.4432, allocations: 372.6 kB / 0.5862 GB, free: 51.52 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006549/0.4439, allocations: 475.3 kB / 0.5866 GB, free: 51.4 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006041/0.4445, allocations: 487.9 kB / 0.5871 GB, free: 51.27 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.4457, allocations: 1.046 MB / 0.5881 GB, free: 50.82 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.4457, allocations: 0 / 0.5881 GB, free: 50.82 MB / 478.2 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001466/0.4472, allocations: 1.239 MB / 0.5893 GB, free: 50.26 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4472, allocations: 5.594 kB / 0.5893 GB, free: 50.26 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4472, allocations: 0 / 0.5893 GB, free: 50.26 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4472, allocations: 5.594 kB / 0.5894 GB, free: 50.26 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/0.4481, allocations: 271.1 kB / 0.5896 GB, free: 50.21 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.4481, allocations: 17.06 kB / 0.5896 GB, free: 50.2 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.4484, allocations: 76.66 kB / 0.5897 GB, free: 50.13 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.92e-05/0.4485, allocations: 41.98 kB / 0.5897 GB, free: 50.12 MB / 478.2 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.0001844/0.4487, allocations: 216.5 kB / 0.5899 GB, free: 49.94 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-05/0.4487, allocations: 46.5 kB / 0.59 GB, free: 49.91 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.4505, allocations: 1.388 MB / 0.5913 GB, free: 49.19 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.4505, allocations: 13.88 kB / 0.5914 GB, free: 49.19 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4505, allocations: 0 / 0.5914 GB, free: 49.19 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.4505, allocations: 13.2 kB / 0.5914 GB, free: 49.18 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000636/0.4511, allocations: 0.7461 MB / 0.5921 GB, free: 48.64 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.4512, allocations: 4 kB / 0.5921 GB, free: 48.64 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.4524, allocations: 300.9 kB / 0.5924 GB, free: 48.58 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.4524, allocations: 5.281 kB / 0.5924 GB, free: 48.58 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.597e-05/0.4525, allocations: 47.94 kB / 0.5924 GB, free: 48.55 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.4525, allocations: 4.656 kB / 0.5924 GB, free: 48.55 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4525, allocations: 0 / 0.5924 GB, free: 48.55 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.4545, allocations: 1.861 MB / 0.5943 GB, free: 47.68 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.4548, allocations: 252 kB / 0.5945 GB, free: 47.48 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-05/0.4549, allocations: 38.77 kB / 0.5945 GB, free: 47.46 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.4552, allocations: 25 kB / 0.5946 GB, free: 47.44 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.4553, allocations: 82.31 kB / 0.5946 GB, free: 47.4 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/0.4554, allocations: 40.39 kB / 0.5947 GB, free: 47.39 MB / 478.2 MB Notification: Performance of sorting global known variables: time 6.238e-05/0.4554, allocations: 131.1 kB / 0.5948 GB, free: 47.29 MB / 478.2 MB Notification: Performance of sort global known variables: time 1e-07/0.4554, allocations: 1.062 kB / 0.5948 GB, free: 47.29 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.000432/0.4559, allocations: 230.7 kB / 0.595 GB, free: 47.21 MB / 478.2 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.0001554/0.456, allocations: 157.7 kB / 0.5952 GB, free: 47.05 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.4572, allocations: 1.163 MB / 0.5963 GB, free: 45.89 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4572, allocations: 0 / 0.5963 GB, free: 45.89 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0005673/0.4577, allocations: 0.6358 MB / 0.5969 GB, free: 45.25 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.4581, allocations: 104.5 kB / 0.597 GB, free: 45.15 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.4607, allocations: 2.823 MB / 0.5998 GB, free: 42.3 MB / 478.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.4609, allocations: 0.9192 MB / 0.6007 GB, free: 41.36 MB / 478.2 MB Notification: Performance of simCode: alias equations: time 0.0005348/0.4614, allocations: 368.8 kB / 0.601 GB, free: 41 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.4617, allocations: 87.41 kB / 0.6011 GB, free: 40.91 MB / 478.2 MB Notification: Performance of SimCode: time 2e-07/0.4617, allocations: 0 / 0.6011 GB, free: 40.91 MB / 478.2 MB Notification: Performance of Templates: time 0.01181/0.4735, allocations: 9.919 MB / 0.6108 GB, free: 31.09 MB / 478.2 MB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_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_OB_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches