Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.001855/0.001855, 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.002209/0.002209, 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.435/1.435, allocations: 225.6 MB / 249.1 MB, free: 3.625 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.7387/0.7387, allocations: 120.6 MB / 424.6 MB, free: 5.594 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.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.88 kB / 0.5932 GB, free: 3.141 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5935/0.5954, allocations: 84.65 MB / 0.6759 GB, free: 16.38 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001724/0.5971, allocations: 403.1 kB / 0.6762 GB, free: 16.14 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004994/0.5976, allocations: 232.7 kB / 0.6765 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.5977, allocations: 0 / 0.6765 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.5977, allocations: 3.938 kB / 0.6765 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.5979, allocations: 2.188 kB / 0.6765 GB, free: 15.99 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.598, allocations: 23.27 kB / 0.6765 GB, free: 15.98 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 6.038e-05/0.5981, allocations: 18.58 kB / 0.6765 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.5981, allocations: 2.969 kB / 0.6765 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.595e-05/0.5981, allocations: 6.75 kB / 0.6765 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.5982, allocations: 3.391 kB / 0.6765 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.5982, allocations: 5.125 kB / 0.6765 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 9.937e-05/0.5983, allocations: 21.84 kB / 0.6765 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.5983, allocations: 1.094 kB / 0.6765 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.5983, allocations: 15.05 kB / 0.6766 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.5984, allocations: 17.5 kB / 0.6766 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.5985, allocations: 7.938 kB / 0.6766 GB, free: 15.93 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5985, allocations: 1.094 kB / 0.6766 GB, free: 15.93 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.5985, allocations: 0 / 0.6766 GB, free: 15.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003274/0.5988, allocations: 326.9 kB / 0.6769 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.5988, allocations: 13.33 kB / 0.6769 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.613e-05/0.5989, allocations: 36.41 kB / 0.6769 GB, free: 15.53 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.5989, allocations: 2.75 kB / 0.6769 GB, free: 15.53 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.525e-05/0.599, allocations: 169.2 kB / 0.6771 GB, free: 15.32 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.599, allocations: 2.609 kB / 0.6771 GB, free: 15.32 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.599, allocations: 1.781 kB / 0.6771 GB, free: 15.32 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.5991, allocations: 33.84 kB / 0.6771 GB, free: 15.29 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.5991, allocations: 5.875 kB / 0.6772 GB, free: 15.29 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.5991, allocations: 0 / 0.6772 GB, free: 15.29 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.5991, allocations: 0.8438 kB / 0.6772 GB, free: 15.29 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.152e-05/0.5991, allocations: 14.06 kB / 0.6772 GB, free: 15.28 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.5993, allocations: 153 kB / 0.6773 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.5995, allocations: 47.42 kB / 0.6774 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.5995, allocations: 9.766 kB / 0.6774 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.5995, allocations: 0.5625 kB / 0.6774 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.5995, allocations: 32.41 kB / 0.6774 GB, free: 15.01 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.5995, allocations: 4 kB / 0.6774 GB, free: 15 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001407/0.5997, allocations: 60.97 kB / 0.6775 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.5997, allocations: 57.06 kB / 0.6775 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.496e-05/0.5997, allocations: 93.05 kB / 0.6776 GB, free: 14.79 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 7.934e-06/0.5997, allocations: 25.7 kB / 0.6776 GB, free: 14.76 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 1.491e-05/0.5997, allocations: 85.53 kB / 0.6777 GB, free: 14.68 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.5998, allocations: 15.14 kB / 0.6777 GB, free: 14.66 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.5998, allocations: 13.23 kB / 0.6777 GB, free: 14.65 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 4.32e-05/0.5998, allocations: 321.7 kB / 0.678 GB, free: 14.33 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.5999, allocations: 8.75 kB / 0.6781 GB, free: 14.32 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.5999, allocations: 5.422 kB / 0.6781 GB, free: 14.32 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.081e-05/0.5999, allocations: 23.19 kB / 0.6781 GB, free: 14.31 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5999, allocations: 0 / 0.6781 GB, free: 14.31 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.84e-05/0.6, allocations: 52.38 kB / 0.6781 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.6, allocations: 13.16 kB / 0.6781 GB, free: 14.26 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.6, allocations: 0 / 0.6781 GB, free: 14.26 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.6, allocations: 2.375 kB / 0.6781 GB, free: 14.26 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.077e-05/0.6001, allocations: 9.969 kB / 0.6782 GB, free: 14.26 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.413e-06/0.6001, allocations: 1.156 kB / 0.6782 GB, free: 14.26 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.6001, allocations: 3.953 kB / 0.6782 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.6001, allocations: 2.094 kB / 0.6782 GB, free: 14.25 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 (4): * Single equations (assignments): 4 * 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 4.428e-05/0.6001, allocations: 116.5 kB / 0.6783 GB, free: 14.13 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.6001, allocations: 5.469 kB / 0.6783 GB, free: 14.13 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.6003, allocations: 73.36 kB / 0.6783 GB, free: 14.07 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.6003, allocations: 5.141 kB / 0.6784 GB, free: 14.07 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6003, allocations: 8.969 kB / 0.6784 GB, free: 14.06 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.6003, allocations: 0 / 0.6784 GB, free: 14.06 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.63e-05/0.6004, allocations: 157.2 kB / 0.6785 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.6004, allocations: 0 / 0.6785 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.6004, allocations: 9.953 kB / 0.6785 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.6004, allocations: 4.781 kB / 0.6785 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.6004, allocations: 1.875 kB / 0.6785 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.6004, allocations: 0 / 0.6785 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.6004, allocations: 1.344 kB / 0.6785 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.6006, allocations: 104.4 kB / 0.6786 GB, free: 13.78 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.6006, allocations: 78.61 kB / 0.6787 GB, free: 13.69 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.6006, allocations: 5.656 kB / 0.6787 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.861e-05/0.6006, allocations: 0 / 0.6787 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.6006, allocations: 7.656 kB / 0.6787 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.6006, allocations: 6.266 kB / 0.6787 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 1.871e-05/0.6007, allocations: 77.69 kB / 0.6788 GB, free: 13.6 MB / 0.5139 GB Notification: Performance of sort global known variables: time 7e-08/0.6007, allocations: 0 / 0.6788 GB, free: 13.6 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001826/0.6008, allocations: 16.12 kB / 0.6788 GB, free: 13.59 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (6): * Single equations (assignments): 6 * 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.0002902/0.6011, allocations: 0.6372 MB / 0.6794 GB, free: 12.98 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 9.493e-05/0.6012, allocations: 26.66 kB / 0.6795 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.6012, allocations: 0 / 0.6795 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.352e-05/0.6013, allocations: 14.14 kB / 0.6795 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.6014, allocations: 9.438 kB / 0.6795 GB, free: 12.95 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/0.6021, allocations: 1.134 MB / 0.6806 GB, free: 11.8 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.633e-05/0.6022, allocations: 0.6833 MB / 0.6813 GB, free: 11.1 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 2.481e-05/0.6022, allocations: 2.75 kB / 0.6813 GB, free: 11.1 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.6022, allocations: 19.31 kB / 0.6813 GB, free: 11.09 MB / 0.5139 GB Notification: Performance of SimCode: time 2.81e-07/0.6022, allocations: 0 / 0.6813 GB, free: 11.09 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.6288, allocations: 1.473 MB / 0.6827 GB, free: 10.3 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.634, allocations: 11.8 kB / 0.6827 GB, free: 10.3 MB / 0.5139 GB " [Timeout remaining time 291] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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: 12.330350803676993]