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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 124.7 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 190.9 kB / 20.73 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 249.1 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.756/0.756, allocations: 120.6 MB / 424.6 MB, free: 5.551 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 67.88 kB / 0.5946 GB, free: 1.625 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5996/0.6018, allocations: 84.65 MB / 0.6773 GB, free: 16.92 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.002195/0.604, allocations: 1.395 MB / 0.6787 GB, free: 15.81 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0007669/0.6047, allocations: 0.5246 MB / 0.6792 GB, free: 15.4 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.6048, allocations: 0 / 0.6792 GB, free: 15.4 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 7.533e-05/0.6048, allocations: 9.297 kB / 0.6792 GB, free: 15.39 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.6051, allocations: 54.86 kB / 0.6792 GB, free: 15.35 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 9.817e-05/0.6052, allocations: 37.52 kB / 0.6793 GB, free: 15.32 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.6054, allocations: 195.6 kB / 0.6795 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.6054, allocations: 4.312 kB / 0.6795 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.6056, allocations: 77.12 kB / 0.6795 GB, free: 15.19 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.6057, allocations: 103 kB / 0.6796 GB, free: 15.12 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.6057, allocations: 8.906 kB / 0.6796 GB, free: 15.12 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.6058, allocations: 34.75 kB / 0.6797 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 9.469e-05/0.6059, allocations: 65.66 kB / 0.6797 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 7.67e-05/0.606, allocations: 67.94 kB / 0.6798 GB, free: 15.03 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.6062, allocations: 141.7 kB / 0.6799 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.6062, allocations: 0 / 0.6799 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6062, allocations: 5.5 kB / 0.6799 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.6062, allocations: 0 / 0.6799 GB, free: 14.95 MB / 0.5139 GB 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.0007312/0.6069, allocations: 478.3 kB / 0.6804 GB, free: 14.5 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.607, allocations: 21.58 kB / 0.6804 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.607, allocations: 47.27 kB / 0.6805 GB, free: 14.44 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.607, allocations: 12.3 kB / 0.6805 GB, free: 14.44 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.6073, allocations: 222 kB / 0.6807 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.6073, allocations: 8.859 kB / 0.6807 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.6073, allocations: 17.16 kB / 0.6807 GB, free: 14.19 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.6076, allocations: 177.1 kB / 0.6809 GB, free: 14.08 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6076, allocations: 0.9062 kB / 0.6809 GB, free: 14.08 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.6076, allocations: 4.938 kB / 0.6809 GB, free: 14.08 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.6076, allocations: 6.719 kB / 0.6809 GB, free: 14.07 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.6079, allocations: 148.5 kB / 0.681 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.6081, allocations: 288.3 kB / 0.6813 GB, free: 13.74 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009042/0.609, allocations: 339.2 kB / 0.6816 GB, free: 13.59 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.6092, allocations: 117.2 kB / 0.6817 GB, free: 13.53 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.6094, allocations: 96.45 kB / 0.6818 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.6094, allocations: 32.41 kB / 0.6819 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/0.6094, allocations: 0 / 0.6819 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of matching and sorting (n=28): time 0.0006197/0.61, allocations: 384.5 kB / 0.6822 GB, free: 13.2 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.61, allocations: 55.19 kB / 0.6823 GB, free: 13.14 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.137e-05/0.6101, allocations: 133.3 kB / 0.6824 GB, free: 13.02 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.6101, allocations: 34.98 kB / 0.6824 GB, free: 12.98 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.6102, allocations: 87.23 kB / 0.6825 GB, free: 12.9 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 7.458e-05/0.6102, allocations: 112.9 kB / 0.6826 GB, free: 12.8 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-05/0.6103, allocations: 59.28 kB / 0.6827 GB, free: 12.76 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 5.037e-05/0.6104, allocations: 337.1 kB / 0.683 GB, free: 12.43 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.6105, allocations: 119.5 kB / 0.6831 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.6107, allocations: 127.9 kB / 0.6832 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.6111, allocations: 280.5 kB / 0.6835 GB, free: 12.19 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6111, allocations: 0 / 0.6835 GB, free: 12.19 MB / 0.5139 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004629/0.6115, allocations: 359.8 kB / 0.6839 GB, free: 12.02 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.6116, allocations: 9.281 kB / 0.6839 GB, free: 12.01 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6116, allocations: 0 / 0.6839 GB, free: 12.01 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.6116, allocations: 2.531 kB / 0.6839 GB, free: 12.01 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.6119, allocations: 69.91 kB / 0.6839 GB, free: 12 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.6119, allocations: 6.516 kB / 0.6839 GB, free: 12 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-05/0.612, allocations: 23.62 kB / 0.684 GB, free: 11.98 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.612, allocations: 11.55 kB / 0.684 GB, free: 11.97 MB / 0.5139 GB 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 8.462e-05/0.6121, allocations: 149.8 kB / 0.6841 GB, free: 11.83 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.6121, allocations: 15.5 kB / 0.6841 GB, free: 11.82 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006024/0.6127, allocations: 390.3 kB / 0.6845 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.6127, allocations: 3.688 kB / 0.6845 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.6127, allocations: 0 / 0.6845 GB, free: 11.61 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.6127, allocations: 4.891 kB / 0.6845 GB, free: 11.6 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.613, allocations: 318.2 kB / 0.6848 GB, free: 11.31 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.613, allocations: 0 / 0.6848 GB, free: 11.31 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.6134, allocations: 91.23 kB / 0.6849 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6134, allocations: 2.375 kB / 0.6849 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.6134, allocations: 13.58 kB / 0.6849 GB, free: 11.28 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.6134, allocations: 0.8125 kB / 0.6849 GB, free: 11.28 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6134, allocations: 1.125 kB / 0.6849 GB, free: 11.28 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000682/0.6141, allocations: 0.5295 MB / 0.6854 GB, free: 11 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.6142, allocations: 133.5 kB / 0.6856 GB, free: 10.87 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.6143, allocations: 12.22 kB / 0.6856 GB, free: 10.86 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.6144, allocations: 5.125 kB / 0.6856 GB, free: 10.86 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.6144, allocations: 23.44 kB / 0.6856 GB, free: 10.85 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.6144, allocations: 16.95 kB / 0.6856 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.225e-05/0.6145, allocations: 100.7 kB / 0.6857 GB, free: 10.75 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.6145, allocations: 0 / 0.6857 GB, free: 10.75 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000265/0.6147, allocations: 69.45 kB / 0.6858 GB, free: 10.74 MB / 0.5139 GB 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.0008829/0.6156, allocations: 1.089 MB / 0.6868 GB, free: 9.91 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0004526/0.6161, allocations: 291.6 kB / 0.6871 GB, free: 9.797 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6161, allocations: 0 / 0.6871 GB, free: 9.797 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/0.6163, allocations: 155.8 kB / 0.6873 GB, free: 9.738 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.6165, allocations: 32.89 kB / 0.6873 GB, free: 9.719 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.6194, allocations: 2.874 MB / 0.6901 GB, free: 7.641 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.6195, allocations: 0.7521 MB / 0.6908 GB, free: 6.914 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0001957/0.6197, allocations: 87.64 kB / 0.6909 GB, free: 6.879 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.6198, allocations: 66.06 kB / 0.691 GB, free: 6.832 MB / 0.5139 GB Notification: Performance of SimCode: time 2.9e-07/0.6198, allocations: 0 / 0.691 GB, free: 6.832 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02951/0.6493, allocations: 5.537 MB / 0.6964 GB, free: 4.125 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/8.924, allocations: 18.14 kB / 0.6964 GB, free: 4.113 MB / 0.5139 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5_fmu --startTime=0 --stopTime=432000 --stepSize=20 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_5.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.60071927914396]