Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 104.4 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.00214/0.00214, allocations: 191.4 kB / 17.85 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.597/2.597, allocations: 222.9 MB / 241.6 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 1.77/1.77, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00254/0.002541, allocations: 63.91 kB / 0.4924 GB, free: 12.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8858/0.8884, allocations: 80.69 MB / 0.5712 GB, free: 43.78 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.003191/0.8916, allocations: 1.386 MB / 0.5726 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.8928, allocations: 0.5126 MB / 0.5731 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.8929, allocations: 1.594 kB / 0.5731 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.099e-05/0.893, allocations: 11.86 kB / 0.5731 GB, free: 42.26 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004058/0.8934, allocations: 59.03 kB / 0.5731 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.8936, allocations: 38.5 kB / 0.5732 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.8939, allocations: 195.1 kB / 0.5733 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.162e-05/0.894, allocations: 4.375 kB / 0.5734 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.8942, allocations: 80.56 kB / 0.5734 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.8945, allocations: 97.19 kB / 0.5735 GB, free: 42 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.359e-05/0.8946, allocations: 7.375 kB / 0.5735 GB, free: 42 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.8947, allocations: 31.56 kB / 0.5736 GB, free: 41.98 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.8949, allocations: 66.14 kB / 0.5736 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.895, allocations: 74.83 kB / 0.5737 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.8953, allocations: 135.8 kB / 0.5738 GB, free: 41.82 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8953, allocations: 3.938 kB / 0.5738 GB, free: 41.82 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.854e-06/0.8954, allocations: 0 / 0.5738 GB, free: 41.82 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.8954, allocations: 1.25 kB / 0.5738 GB, free: 41.82 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001113/0.8965, allocations: 478.4 kB / 0.5743 GB, free: 41.38 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.8966, allocations: 12.95 kB / 0.5743 GB, free: 41.37 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.329e-05/0.8966, allocations: 51.89 kB / 0.5743 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.3e-05/0.8967, allocations: 16.28 kB / 0.5744 GB, free: 41.31 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.897, allocations: 215.4 kB / 0.5746 GB, free: 41.08 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.897, allocations: 13.7 kB / 0.5746 GB, free: 41.07 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.54e-05/0.8971, allocations: 16.38 kB / 0.5746 GB, free: 41.06 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.8976, allocations: 174.5 kB / 0.5748 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.8976, allocations: 1.5 kB / 0.5748 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.8977, allocations: 4 kB / 0.5748 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.8977, allocations: 2.781 kB / 0.5748 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004033/0.8981, allocations: 145.1 kB / 0.5749 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.8986, allocations: 283.9 kB / 0.5752 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.9001, allocations: 358.2 kB / 0.5755 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.9004, allocations: 120 kB / 0.5756 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.9006, allocations: 91.83 kB / 0.5757 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.9007, allocations: 40.78 kB / 0.5758 GB, free: 40.26 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 4.078e-06/0.9007, allocations: 0 / 0.5758 GB, free: 40.26 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.001151/0.9019, allocations: 384.9 kB / 0.5761 GB, free: 40.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.9019, allocations: 54.09 kB / 0.5762 GB, free: 40.01 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.9021, allocations: 133.7 kB / 0.5763 GB, free: 39.89 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.9021, allocations: 31.2 kB / 0.5763 GB, free: 39.85 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.9022, allocations: 91.23 kB / 0.5764 GB, free: 39.76 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.9023, allocations: 108.1 kB / 0.5765 GB, free: 39.67 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.9025, allocations: 64.5 kB / 0.5766 GB, free: 39.62 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.9026, allocations: 339.7 kB / 0.5769 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.903, allocations: 115.6 kB / 0.577 GB, free: 39.24 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.9033, allocations: 127.9 kB / 0.5771 GB, free: 39.19 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006657/0.904, allocations: 288.5 kB / 0.5774 GB, free: 39.05 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.904, allocations: 0 / 0.5774 GB, free: 39.05 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008889/0.9049, allocations: 355.8 kB / 0.5778 GB, free: 38.88 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.9049, allocations: 5.5 kB / 0.5778 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.905, allocations: 3.938 kB / 0.5778 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.905, allocations: 5.375 kB / 0.5778 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.9055, allocations: 71.03 kB / 0.5778 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.9056, allocations: 1.375 kB / 0.5778 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.9058, allocations: 23.81 kB / 0.5779 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.9058, allocations: 16.23 kB / 0.5779 GB, free: 38.83 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 (39): * Single equations (assignments): 39 * 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.0001491/0.906, allocations: 137.5 kB / 0.578 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.9061, allocations: 18.69 kB / 0.578 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.9072, allocations: 406.9 kB / 0.5784 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.9072, allocations: 3.688 kB / 0.5784 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.9073, allocations: 0 / 0.5784 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.9073, allocations: 0.9375 kB / 0.5784 GB, free: 38.46 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.9078, allocations: 322 kB / 0.5787 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.9078, allocations: 0 / 0.5787 GB, free: 38.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008211/0.9086, allocations: 91.23 kB / 0.5788 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.9086, allocations: 1.844 kB / 0.5788 GB, free: 38.14 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/0.9087, allocations: 13.55 kB / 0.5788 GB, free: 38.13 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.9087, allocations: 1.844 kB / 0.5788 GB, free: 38.13 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.9087, allocations: 0 / 0.5788 GB, free: 38.13 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.91, allocations: 0.5228 MB / 0.5793 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.9102, allocations: 124.7 kB / 0.5795 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.9103, allocations: 8.594 kB / 0.5795 GB, free: 37.73 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.9105, allocations: 8.938 kB / 0.5795 GB, free: 37.72 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/0.9106, allocations: 23.94 kB / 0.5795 GB, free: 37.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.9106, allocations: 11.36 kB / 0.5795 GB, free: 37.71 MB / 462.3 MB Notification: Performance of sorting global known variables: time 7.939e-05/0.9107, allocations: 108.5 kB / 0.5796 GB, free: 37.62 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.41e-07/0.9107, allocations: 0 / 0.5796 GB, free: 37.62 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004944/0.9112, allocations: 65.16 kB / 0.5797 GB, free: 37.61 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * 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 (39): * Single equations (assignments): 39 * 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.001397/0.9126, allocations: 1.081 MB / 0.5807 GB, free: 36.79 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.9137, allocations: 377.8 kB / 0.5811 GB, free: 36.66 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.9137, allocations: 4 kB / 0.5811 GB, free: 36.65 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003845/0.9141, allocations: 166.1 kB / 0.5813 GB, free: 36.59 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.9145, allocations: 38.39 kB / 0.5813 GB, free: 36.57 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004918/0.9195, allocations: 2.866 MB / 0.5841 GB, free: 34.48 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.9198, allocations: 0.748 MB / 0.5848 GB, free: 33.76 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003751/0.9201, allocations: 91.88 kB / 0.5849 GB, free: 33.72 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.9203, allocations: 70.19 kB / 0.585 GB, free: 33.67 MB / 462.3 MB Notification: Performance of SimCode: time 9.12e-07/0.9204, allocations: 0 / 0.585 GB, free: 33.67 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1928/1.113, allocations: 5.4 MB / 0.5903 GB, free: 29.6 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.85/16.96, allocations: 15.62 kB / 0.5903 GB, free: 29.59 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.csv --start-time 0 --stop-time 432000 --timeout 300 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 20 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches