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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 209.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.392/1.392, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.9469/0.9469, allocations: 120.6 MB / 434.5 MB, free: 0.6172 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.89 kB / 0.6067 GB, free: 10.75 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1533, allocations: 85.86 MB / 0.6905 GB, free: 4.676 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001668/0.1549, allocations: 404.5 kB / 0.6909 GB, free: 4.285 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0004891/0.1554, allocations: 227.8 kB / 0.6911 GB, free: 4.062 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.1555, allocations: 3.938 kB / 0.6911 GB, free: 4.059 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.1555, allocations: 4 kB / 0.6911 GB, free: 4.055 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.1556, allocations: 7.922 kB / 0.6911 GB, free: 4.047 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.1557, allocations: 23.92 kB / 0.6912 GB, free: 4.023 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 6.09e-05/0.1558, allocations: 8 kB / 0.6912 GB, free: 4.016 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.1559, allocations: 11.97 kB / 0.6912 GB, free: 4.004 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 2.815e-05/0.1559, allocations: 0 / 0.6912 GB, free: 4.004 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.1559, allocations: 7.938 kB / 0.6912 GB, free: 3.996 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.1559, allocations: 0 / 0.6912 GB, free: 3.996 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.156, allocations: 27.97 kB / 0.6912 GB, free: 3.969 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.1561, allocations: 4 kB / 0.6912 GB, free: 3.965 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.542e-05/0.1561, allocations: 4 kB / 0.6912 GB, free: 3.961 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.1562, allocations: 36.11 kB / 0.6913 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1562, allocations: 0 / 0.6913 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1562, allocations: 0 / 0.6913 GB, free: 3.926 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1562, allocations: 3.938 kB / 0.6913 GB, free: 3.922 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.0003636/0.1566, allocations: 250.3 kB / 0.6915 GB, free: 3.645 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1566, allocations: 12.03 kB / 0.6915 GB, free: 3.633 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.1566, allocations: 34.75 kB / 0.6915 GB, free: 3.59 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.1567, allocations: 0.9375 kB / 0.6915 GB, free: 3.59 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.985e-05/0.1568, allocations: 110.5 kB / 0.6916 GB, free: 3.457 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.1568, allocations: 4.375 kB / 0.6917 GB, free: 3.453 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.1568, allocations: 384 / 0.6917 GB, free: 3.453 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.759e-05/0.1569, allocations: 42.23 kB / 0.6917 GB, free: 3.406 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1569, allocations: 3.938 kB / 0.6917 GB, free: 3.402 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1569, allocations: 4 kB / 0.6917 GB, free: 3.398 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1569, allocations: 0 / 0.6917 GB, free: 3.398 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.854e-05/0.157, allocations: 15.92 kB / 0.6917 GB, free: 3.383 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.1571, allocations: 120.8 kB / 0.6918 GB, free: 3.223 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.1573, allocations: 42.59 kB / 0.6919 GB, free: 3.172 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.1574, allocations: 12.92 kB / 0.6919 GB, free: 3.156 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.1574, allocations: 4 kB / 0.6919 GB, free: 3.152 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1574, allocations: 34.56 kB / 0.6919 GB, free: 3.109 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1574, allocations: 0 / 0.6919 GB, free: 3.109 MB / 0.5139 GB Notification: Performance of matching and sorting (n=3): time 0.0001501/0.1576, allocations: 53.66 kB / 0.692 GB, free: 3.051 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.1576, allocations: 51.41 kB / 0.692 GB, free: 2.988 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.228e-05/0.1577, allocations: 101.8 kB / 0.6921 GB, free: 2.879 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1577, allocations: 29.7 kB / 0.6921 GB, free: 2.844 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.1577, allocations: 80.14 kB / 0.6922 GB, free: 2.762 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.1577, allocations: 11.91 kB / 0.6922 GB, free: 2.75 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.1578, allocations: 17.72 kB / 0.6922 GB, free: 2.727 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1579, allocations: 319 kB / 0.6926 GB, free: 2.406 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.1579, allocations: 4 kB / 0.6926 GB, free: 2.402 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.1579, allocations: 8 kB / 0.6926 GB, free: 2.395 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.158, allocations: 20.84 kB / 0.6926 GB, free: 2.371 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.158, allocations: 0 / 0.6926 GB, free: 2.371 MB / 0.5139 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.41e-05/0.1581, allocations: 53.62 kB / 0.6926 GB, free: 2.312 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1581, allocations: 7.938 kB / 0.6926 GB, free: 2.305 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.1581, allocations: 0 / 0.6926 GB, free: 2.305 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1581, allocations: 0 / 0.6926 GB, free: 2.305 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.544e-05/0.1582, allocations: 8 kB / 0.6927 GB, free: 2.297 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1582, allocations: 0 / 0.6927 GB, free: 2.297 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.1582, allocations: 4 kB / 0.6927 GB, free: 2.293 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1582, allocations: 4 kB / 0.6927 GB, free: 2.289 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 7.821e-05/0.1583, allocations: 117.8 kB / 0.6928 GB, free: 2.164 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.1583, allocations: 3.938 kB / 0.6928 GB, free: 2.16 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.1584, allocations: 69.31 kB / 0.6928 GB, free: 2.082 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1584, allocations: 4 kB / 0.6928 GB, free: 2.078 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1585, allocations: 7.922 kB / 0.6929 GB, free: 2.07 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1585, allocations: 0 / 0.6929 GB, free: 2.07 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.1586, allocations: 133 kB / 0.693 GB, free: 1.898 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1586, allocations: 4 kB / 0.693 GB, free: 1.895 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/0.1586, allocations: 11.98 kB / 0.693 GB, free: 1.883 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1586, allocations: 3.938 kB / 0.693 GB, free: 1.879 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1586, allocations: 4 kB / 0.693 GB, free: 1.875 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1586, allocations: 0 / 0.693 GB, free: 1.875 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1586, allocations: 4 kB / 0.693 GB, free: 1.871 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.1588, allocations: 105.1 kB / 0.6931 GB, free: 1.75 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.1588, allocations: 0 / 0.6931 GB, free: 1.75 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.1588, allocations: 11.97 kB / 0.6931 GB, free: 1.738 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.902e-05/0.1589, allocations: 0 / 0.6931 GB, free: 1.738 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.1589, allocations: 0 / 0.6931 GB, free: 1.738 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.1589, allocations: 12 kB / 0.6931 GB, free: 1.727 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.1589, allocations: 79.27 kB / 0.6932 GB, free: 1.648 MB / 0.5139 GB Notification: Performance of sort global known variables: time 5e-08/0.1589, allocations: 0 / 0.6932 GB, free: 1.648 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002034/0.1591, allocations: 12 kB / 0.6932 GB, free: 1.637 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.0004778/0.1596, allocations: 0.6435 MB / 0.6938 GB, free: 0.9609 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 9.645e-05/0.1597, allocations: 23.98 kB / 0.6939 GB, free: 0.9375 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1597, allocations: 0 / 0.6939 GB, free: 0.9375 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.1597, allocations: 12 kB / 0.6939 GB, free: 0.9258 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.1599, allocations: 6.969 kB / 0.6939 GB, free: 0.9219 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.1609, allocations: 1.122 MB / 0.695 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.603e-05/0.161, allocations: 67.28 kB / 0.695 GB, free: 15.63 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 2.827e-05/0.161, allocations: 4 kB / 0.695 GB, free: 15.63 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.161, allocations: 15.42 kB / 0.6951 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of SimCode: time 4.2e-07/0.161, allocations: 0 / 0.6951 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.1905, allocations: 2.006 MB / 0.697 GB, free: 13.74 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.27, allocations: 4.562 kB / 0.697 GB, free: 13.73 MB / 0.5295 GB " [Timeout remaining time 289] (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/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 15.073629564139992]