Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.001307/0.001307, allocations: 124.8 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.001258/0.001258, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.383/1.383, allocations: 225.6 MB / 249.1 MB, free: 3.633 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.7428/0.7428, allocations: 120.6 MB / 424.6 MB, free: 5.656 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.Verification.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 59.89 kB / 0.5932 GB, free: 3.137 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6077/0.6099, allocations: 84.65 MB / 0.6759 GB, free: 16.46 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001407/0.6113, allocations: 392.2 kB / 0.6762 GB, free: 16.23 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0003818/0.6117, allocations: 178.5 kB / 0.6764 GB, free: 16.12 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.6117, allocations: 1.375 kB / 0.6764 GB, free: 16.12 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.222e-05/0.6117, allocations: 0 / 0.6764 GB, free: 16.12 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.893e-05/0.6118, allocations: 0.8906 kB / 0.6764 GB, free: 16.12 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.612, allocations: 18.38 kB / 0.6764 GB, free: 16.11 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 4.818e-05/0.612, allocations: 5.953 kB / 0.6764 GB, free: 16.11 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.6121, allocations: 2.547 kB / 0.6764 GB, free: 16.11 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.708e-05/0.6121, allocations: 1.188 kB / 0.6764 GB, free: 16.11 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.503e-05/0.6121, allocations: 1.344 kB / 0.6764 GB, free: 16.11 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.6121, allocations: 0 / 0.6764 GB, free: 16.11 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.54e-05/0.6122, allocations: 14.84 kB / 0.6764 GB, free: 16.1 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.6122, allocations: 4.922 kB / 0.6764 GB, free: 16.1 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.553e-05/0.6122, allocations: 1.062 kB / 0.6764 GB, free: 16.1 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.039e-05/0.6123, allocations: 13.92 kB / 0.6765 GB, free: 16.09 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6123, allocations: 0 / 0.6765 GB, free: 16.09 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6123, allocations: 0.7969 kB / 0.6765 GB, free: 16.09 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.6123, allocations: 5.062 kB / 0.6765 GB, free: 16.09 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002464/0.6126, allocations: 317.8 kB / 0.6768 GB, free: 15.73 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.6126, allocations: 14.36 kB / 0.6768 GB, free: 15.73 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.671e-05/0.6126, allocations: 30.75 kB / 0.6768 GB, free: 15.69 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.236e-05/0.6127, allocations: 6.078 kB / 0.6768 GB, free: 15.69 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.868e-05/0.6127, allocations: 161.9 kB / 0.677 GB, free: 15.49 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.6127, allocations: 1.594 kB / 0.677 GB, free: 15.49 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.6127, allocations: 384 / 0.677 GB, free: 15.49 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.09e-05/0.6128, allocations: 43.27 kB / 0.677 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.6128, allocations: 3.938 kB / 0.677 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.6128, allocations: 0 / 0.677 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.6128, allocations: 1.188 kB / 0.677 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.88e-05/0.6129, allocations: 3.219 kB / 0.677 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001044/0.613, allocations: 149.9 kB / 0.6772 GB, free: 15.25 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 4.637e-05/0.613, allocations: 25.02 kB / 0.6772 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.613, allocations: 10.16 kB / 0.6772 GB, free: 15.21 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.6132, allocations: 90.47 kB / 0.6773 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.6132, allocations: 40.28 kB / 0.6773 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.6132, allocations: 0 / 0.6773 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001275/0.6134, allocations: 42.16 kB / 0.6774 GB, free: 15.03 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.6134, allocations: 52.75 kB / 0.6774 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.496e-05/0.6134, allocations: 93.8 kB / 0.6775 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 6.251e-06/0.6134, allocations: 29.83 kB / 0.6775 GB, free: 14.83 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 1.277e-05/0.6134, allocations: 84.14 kB / 0.6776 GB, free: 14.74 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.6134, allocations: 5.172 kB / 0.6776 GB, free: 14.74 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.6135, allocations: 13.16 kB / 0.6776 GB, free: 14.72 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 4.053e-05/0.6135, allocations: 310.8 kB / 0.6779 GB, free: 14.41 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.6135, allocations: 5.109 kB / 0.6779 GB, free: 14.41 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-06/0.6135, allocations: 7.688 kB / 0.6779 GB, free: 14.4 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.46e-05/0.6136, allocations: 16.27 kB / 0.678 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6136, allocations: 1.156 kB / 0.678 GB, free: 14.39 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.396e-05/0.6136, allocations: 37.33 kB / 0.678 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.6136, allocations: 6.031 kB / 0.678 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6136, allocations: 3.938 kB / 0.678 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.6136, allocations: 0 / 0.678 GB, free: 14.35 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.893e-05/0.6137, allocations: 7.578 kB / 0.678 GB, free: 14.34 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.6137, allocations: 0 / 0.678 GB, free: 14.34 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.159e-05/0.6137, allocations: 0 / 0.678 GB, free: 14.34 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.6137, allocations: 2 kB / 0.678 GB, free: 14.34 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 (2): * Single equations (assignments): 2 * 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 3.795e-05/0.6137, allocations: 109.9 kB / 0.6781 GB, free: 14.23 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-06/0.6137, allocations: 1.938 kB / 0.6781 GB, free: 14.23 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.188e-05/0.6138, allocations: 56.48 kB / 0.6782 GB, free: 14.17 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.6138, allocations: 0 / 0.6782 GB, free: 14.17 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6138, allocations: 0 / 0.6782 GB, free: 14.17 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.6138, allocations: 0 / 0.6782 GB, free: 14.17 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.494e-05/0.6139, allocations: 153.6 kB / 0.6783 GB, free: 13.98 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6139, allocations: 0 / 0.6783 GB, free: 13.98 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.6139, allocations: 9.734 kB / 0.6783 GB, free: 13.97 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.6139, allocations: 1.938 kB / 0.6783 GB, free: 13.97 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.6139, allocations: 3.938 kB / 0.6783 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6139, allocations: 3.938 kB / 0.6783 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6139, allocations: 0 / 0.6783 GB, free: 13.96 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.367e-05/0.614, allocations: 62.33 kB / 0.6784 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.614, allocations: 82.72 kB / 0.6785 GB, free: 13.79 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.614, allocations: 3.938 kB / 0.6785 GB, free: 13.79 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.614, allocations: 4.031 kB / 0.6785 GB, free: 13.79 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.614, allocations: 1.188 kB / 0.6785 GB, free: 13.79 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.614, allocations: 1.062 kB / 0.6785 GB, free: 13.79 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 1.184e-05/0.614, allocations: 75.28 kB / 0.6786 GB, free: 13.71 MB / 0.5139 GB Notification: Performance of sort global known variables: time 5e-08/0.614, allocations: 0 / 0.6786 GB, free: 13.71 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001732/0.6142, allocations: 3.031 kB / 0.6786 GB, free: 13.71 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0002151/0.6144, allocations: 0.6173 MB / 0.6792 GB, free: 13.09 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 7.517e-05/0.6145, allocations: 5.562 kB / 0.6792 GB, free: 13.09 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6145, allocations: 0 / 0.6792 GB, free: 13.09 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.007e-05/0.6145, allocations: 8.609 kB / 0.6792 GB, free: 13.08 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.6146, allocations: 1.25 kB / 0.6792 GB, free: 13.08 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.6149, allocations: 108.2 kB / 0.6793 GB, free: 12.95 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.384e-05/0.615, allocations: 0.683 MB / 0.6799 GB, free: 12.24 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.01e-05/0.615, allocations: 1.156 kB / 0.6799 GB, free: 12.24 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.646e-05/0.615, allocations: 8.625 kB / 0.68 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of SimCode: time 3.6e-07/0.615, allocations: 0 / 0.68 GB, free: 12.23 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2913/0.9063, allocations: 1.065 MB / 0.681 GB, free: 11.64 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/9.277, allocations: 5.375 kB / 0.681 GB, free: 11.64 MB / 0.5139 GB " [Timeout remaining time 291] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat_fmu --startTime=0 --stopTime=1 --stepSize=2.00004e-05 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.395496857818216]