Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_10",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.001471/0.001471, allocations: 107.7 kB / 16.92 MB, free: 6.145 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.001715/0.001715, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.504/2.504, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.614/1.614, allocations: 119.3 MB / 411 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 59.91 kB / 0.4924 GB, free: 12.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6904/0.6929, allocations: 80.69 MB / 0.5712 GB, free: 43.96 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.003142/0.6961, allocations: 1.38 MB / 0.5725 GB, free: 42.85 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.6974, allocations: 0.5203 MB / 0.5731 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.6974, allocations: 1.375 kB / 0.5731 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.385e-05/0.6975, allocations: 3.938 kB / 0.5731 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.6979, allocations: 55.67 kB / 0.5731 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.6981, allocations: 41.28 kB / 0.5732 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004222/0.6986, allocations: 324.2 kB / 0.5735 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.106e-05/0.6987, allocations: 5.688 kB / 0.5735 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.6989, allocations: 115.2 kB / 0.5736 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003524/0.6993, allocations: 152.9 kB / 0.5737 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.893e-05/0.6994, allocations: 15.56 kB / 0.5737 GB, free: 42.06 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.6996, allocations: 43.12 kB / 0.5738 GB, free: 42.05 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.6998, allocations: 128 kB / 0.5739 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.7, allocations: 126.4 kB / 0.574 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.7004, allocations: 239.9 kB / 0.5743 GB, free: 41.75 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.7004, allocations: 1.312 kB / 0.5743 GB, free: 41.75 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.913e-06/0.7004, allocations: 0 / 0.5743 GB, free: 41.75 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.7005, allocations: 0 / 0.5743 GB, free: 41.75 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00152/0.702, allocations: 0.5838 MB / 0.5748 GB, free: 41.25 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.702, allocations: 12.92 kB / 0.5748 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.617e-05/0.7021, allocations: 55.48 kB / 0.5749 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.7023, allocations: 26.38 kB / 0.5749 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.7026, allocations: 257.3 kB / 0.5752 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.7027, allocations: 12.66 kB / 0.5752 GB, free: 40.92 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.514e-05/0.7028, allocations: 36.5 kB / 0.5752 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007794/0.7036, allocations: 321.1 kB / 0.5755 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.7036, allocations: 0 / 0.5755 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/0.7037, allocations: 10.06 kB / 0.5755 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.7037, allocations: 4.75 kB / 0.5755 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008014/0.7045, allocations: 291.3 kB / 0.5758 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006817/0.7052, allocations: 392.6 kB / 0.5762 GB, free: 40.26 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/0.7082, allocations: 0.6806 MB / 0.5768 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005678/0.7088, allocations: 237.8 kB / 0.5771 GB, free: 39.84 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.709, allocations: 95.16 kB / 0.5772 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.7091, allocations: 45.73 kB / 0.5772 GB, free: 39.69 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 3.817e-06/0.7091, allocations: 0 / 0.5772 GB, free: 39.69 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001884/0.711, allocations: 0.6908 MB / 0.5779 GB, free: 39.37 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.7111, allocations: 57.38 kB / 0.5779 GB, free: 39.3 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.7112, allocations: 150.3 kB / 0.5781 GB, free: 39.17 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.7113, allocations: 32.48 kB / 0.5781 GB, free: 39.13 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.7114, allocations: 100.8 kB / 0.5782 GB, free: 39.04 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.7116, allocations: 205.9 kB / 0.5784 GB, free: 38.86 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.7118, allocations: 106.3 kB / 0.5785 GB, free: 38.79 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.7119, allocations: 348 kB / 0.5788 GB, free: 38.45 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006653/0.7126, allocations: 241 kB / 0.5791 GB, free: 38.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006973/0.7133, allocations: 246.9 kB / 0.5793 GB, free: 38.23 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.7147, allocations: 0.5267 MB / 0.5798 GB, free: 37.99 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.7147, allocations: 1.25 kB / 0.5798 GB, free: 37.99 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001679/0.7164, allocations: 0.6433 MB / 0.5804 GB, free: 37.69 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.7164, allocations: 5.031 kB / 0.5804 GB, free: 37.69 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.7165, allocations: 0 / 0.5804 GB, free: 37.69 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.7165, allocations: 6.469 kB / 0.5805 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.7176, allocations: 150.8 kB / 0.5806 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.7176, allocations: 3.781 kB / 0.5806 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.718, allocations: 37.84 kB / 0.5806 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.95e-05/0.7181, allocations: 23.14 kB / 0.5807 GB, free: 37.61 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 (74): * Single equations (assignments): 74 * 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.0002306/0.7184, allocations: 161.9 kB / 0.5808 GB, free: 37.46 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.881e-05/0.7185, allocations: 24.34 kB / 0.5808 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.7206, allocations: 0.7353 MB / 0.5816 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.7206, allocations: 11.5 kB / 0.5816 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.7206, allocations: 0 / 0.5816 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.7206, allocations: 3.984 kB / 0.5816 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.7214, allocations: 463.2 kB / 0.582 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.7214, allocations: 0.9062 kB / 0.582 GB, free: 36.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/0.7231, allocations: 154.7 kB / 0.5822 GB, free: 36.65 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/0.7231, allocations: 2.062 kB / 0.5822 GB, free: 36.65 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-05/0.7232, allocations: 26.36 kB / 0.5822 GB, free: 36.63 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.7232, allocations: 10.97 kB / 0.5822 GB, free: 36.62 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7232, allocations: 4 kB / 0.5822 GB, free: 36.62 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.7256, allocations: 0.959 MB / 0.5831 GB, free: 36.16 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.7259, allocations: 178 kB / 0.5833 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.726, allocations: 24.05 kB / 0.5833 GB, free: 35.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.7264, allocations: 10.31 kB / 0.5833 GB, free: 35.98 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.7265, allocations: 46.38 kB / 0.5834 GB, free: 35.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/0.7266, allocations: 19.34 kB / 0.5834 GB, free: 35.95 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001046/0.7268, allocations: 116.2 kB / 0.5835 GB, free: 35.86 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7268, allocations: 1.062 kB / 0.5835 GB, free: 35.86 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0006634/0.7274, allocations: 122.1 kB / 0.5836 GB, free: 35.84 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.002512/0.73, allocations: 1.539 MB / 0.5851 GB, free: 34.8 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.7321, allocations: 0.8444 MB / 0.586 GB, free: 34.1 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7322, allocations: 0 / 0.586 GB, free: 34.1 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006987/0.7329, allocations: 327.5 kB / 0.5863 GB, free: 33.78 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.7335, allocations: 47.98 kB / 0.5863 GB, free: 33.73 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008277/0.7418, allocations: 4.492 MB / 0.5907 GB, free: 29.16 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.7421, allocations: 0.8089 MB / 0.5915 GB, free: 28.33 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0007154/0.7428, allocations: 171.1 kB / 0.5917 GB, free: 28.16 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.7432, allocations: 131.3 kB / 0.5918 GB, free: 28.04 MB / 462.3 MB Notification: Performance of SimCode: time 8.92e-07/0.7432, allocations: 0 / 0.5918 GB, free: 28.04 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03825/0.7815, allocations: 9.034 MB / 0.6006 GB, free: 19.18 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.951, allocations: 8.25 kB / 0.6006 GB, free: 19.17 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_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_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches