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.0008402/0.0008402, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008693/0.0008693, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8336/0.8336, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.5982/0.5982, allocations: 88.08 MB / 348.7 MB, free: 14.39 MB / 330.7 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: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.523 GB, free: 4.086 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.965e-05, allocations: 2.844 kB / 0.523 GB, free: 4.082 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0009387/0.0009584, allocations: 396.7 kB / 0.5233 GB, free: 3.699 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004041/0.001363, allocations: 235.2 kB / 0.5236 GB, free: 3.473 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.001394, allocations: 4 kB / 0.5236 GB, free: 3.469 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.00141, allocations: 0 / 0.5236 GB, free: 3.469 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.001558, allocations: 4 kB / 0.5236 GB, free: 3.465 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.001663, allocations: 23.86 kB / 0.5236 GB, free: 3.441 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 5.273e-05/0.001716, allocations: 15.91 kB / 0.5236 GB, free: 3.426 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.001758, allocations: 0 / 0.5236 GB, free: 3.426 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.738e-05/0.001795, allocations: 4 kB / 0.5236 GB, free: 3.422 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.469e-05/0.00184, allocations: 7.938 kB / 0.5236 GB, free: 3.414 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.001854, allocations: 0 / 0.5236 GB, free: 3.414 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.349e-05/0.001928, allocations: 23.97 kB / 0.5236 GB, free: 3.391 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.001942, allocations: 19.92 kB / 0.5237 GB, free: 3.371 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.001959, allocations: 4 kB / 0.5237 GB, free: 3.367 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 9.873e-05/0.002058, allocations: 31.89 kB / 0.5237 GB, free: 3.336 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.002061, allocations: 3.984 kB / 0.5237 GB, free: 3.332 MB / 442.8 MB Notification: Performance of FrontEnd: time 9.91e-07/0.002062, allocations: 3.938 kB / 0.5237 GB, free: 3.328 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.002066, allocations: 0 / 0.5237 GB, free: 3.328 MB / 442.8 MB 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.000418/0.002484, allocations: 250.3 kB / 0.5239 GB, free: 3.051 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.002525, allocations: 12.03 kB / 0.524 GB, free: 3.039 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.002559, allocations: 34.75 kB / 0.524 GB, free: 2.996 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.00258, allocations: 0.9375 kB / 0.524 GB, free: 2.996 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.901e-05/0.002669, allocations: 117.7 kB / 0.5241 GB, free: 2.855 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.00268, allocations: 4.359 kB / 0.5241 GB, free: 2.852 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.002702, allocations: 384 / 0.5241 GB, free: 2.852 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.587e-05/0.002798, allocations: 38.25 kB / 0.5241 GB, free: 2.809 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.002806, allocations: 192 / 0.5241 GB, free: 2.809 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.002816, allocations: 4.375 kB / 0.5242 GB, free: 2.805 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.002823, allocations: 4.125 kB / 0.5242 GB, free: 2.801 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.956e-05/0.002863, allocations: 11.92 kB / 0.5242 GB, free: 2.789 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.003004, allocations: 120.8 kB / 0.5243 GB, free: 2.629 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.003228, allocations: 38.61 kB / 0.5243 GB, free: 2.582 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.003252, allocations: 21 kB / 0.5243 GB, free: 2.559 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.003268, allocations: 0 / 0.5243 GB, free: 2.559 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.00329, allocations: 34.56 kB / 0.5244 GB, free: 2.516 MB / 442.8 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.00329, allocations: 0 / 0.5244 GB, free: 2.516 MB / 442.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001533/0.003444, allocations: 49.62 kB / 0.5244 GB, free: 2.461 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.003475, allocations: 55.34 kB / 0.5245 GB, free: 2.395 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.563e-05/0.00353, allocations: 101.8 kB / 0.5246 GB, free: 2.285 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.003541, allocations: 25.7 kB / 0.5246 GB, free: 2.254 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.45e-05/0.003566, allocations: 80.14 kB / 0.5247 GB, free: 2.172 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.003595, allocations: 15.84 kB / 0.5247 GB, free: 2.156 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.00362, allocations: 21.84 kB / 0.5247 GB, free: 2.129 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.003703, allocations: 314.8 kB / 0.525 GB, free: 1.812 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.003722, allocations: 8 kB / 0.525 GB, free: 1.805 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.031e-05/0.003732, allocations: 4 kB / 0.525 GB, free: 1.801 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/0.003768, allocations: 20.84 kB / 0.525 GB, free: 1.777 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.003769, allocations: 0 / 0.525 GB, free: 1.777 MB / 442.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.444e-05/0.003823, allocations: 53.62 kB / 0.5251 GB, free: 1.719 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.003836, allocations: 4 kB / 0.5251 GB, free: 1.715 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.003842, allocations: 0 / 0.5251 GB, free: 1.715 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.003852, allocations: 0 / 0.5251 GB, free: 1.715 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.375e-05/0.003886, allocations: 11.94 kB / 0.5251 GB, free: 1.703 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.003891, allocations: 4 kB / 0.5251 GB, free: 1.699 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.233e-05/0.003903, allocations: 4 kB / 0.5251 GB, free: 1.695 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.003909, allocations: 4 kB / 0.5251 GB, free: 1.691 MB / 442.8 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 (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 5.36e-05/0.003962, allocations: 105.8 kB / 0.5252 GB, free: 1.578 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-06/0.003967, allocations: 3.984 kB / 0.5252 GB, free: 1.574 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.004076, allocations: 77.52 kB / 0.5253 GB, free: 1.488 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.004078, allocations: 4 kB / 0.5253 GB, free: 1.484 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.004083, allocations: 3.938 kB / 0.5253 GB, free: 1.48 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.004089, allocations: 7.969 kB / 0.5253 GB, free: 1.473 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.163e-05/0.004161, allocations: 132.7 kB / 0.5254 GB, free: 1.301 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.004162, allocations: 0 / 0.5254 GB, free: 1.301 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.004198, allocations: 16.05 kB / 0.5255 GB, free: 1.285 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.004201, allocations: 4 kB / 0.5255 GB, free: 1.281 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.004208, allocations: 0 / 0.5255 GB, free: 1.281 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004209, allocations: 0 / 0.5255 GB, free: 1.281 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.004211, allocations: 7.938 kB / 0.5255 GB, free: 1.273 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.004326, allocations: 93.06 kB / 0.5256 GB, free: 1.164 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.004332, allocations: 3.984 kB / 0.5256 GB, free: 1.16 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.004343, allocations: 8.031 kB / 0.5256 GB, free: 1.152 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-06/0.004351, allocations: 64 / 0.5256 GB, free: 1.152 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.004365, allocations: 7.938 kB / 0.5256 GB, free: 1.145 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.004368, allocations: 4 kB / 0.5256 GB, free: 1.141 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.123e-05/0.004389, allocations: 75.28 kB / 0.5256 GB, free: 1.066 MB / 442.8 MB Notification: Performance of sort global known variables: time 7e-08/0.004389, allocations: 0 / 0.5256 GB, free: 1.066 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001326/0.004522, allocations: 19.92 kB / 0.5257 GB, free: 1.047 MB / 442.8 MB 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.0002905/0.004812, allocations: 0.6397 MB / 0.5263 GB, free: 388 kB / 442.8 MB Notification: Performance of simCode: created initialization part: time 7.353e-05/0.004886, allocations: 23.98 kB / 0.5263 GB, free: 364 kB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.004887, allocations: 0 / 0.5263 GB, free: 364 kB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 1.662e-05/0.004904, allocations: 16.16 kB / 0.5263 GB, free: 348 kB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.00501, allocations: 7.938 kB / 0.5263 GB, free: 340 kB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008192/0.00583, allocations: 1.122 MB / 0.5274 GB, free: 15.12 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.005894, allocations: 67.28 kB / 0.5275 GB, free: 15.04 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 2.97e-05/0.005924, allocations: 4 kB / 0.5275 GB, free: 15.04 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.005978, allocations: 20.48 kB / 0.5275 GB, free: 15.02 MB / 458.8 MB Notification: Performance of SimCode: time 1.684e-06/0.00598, allocations: 0 / 0.5275 GB, free: 15.02 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.02447, allocations: 2.184 MB / 0.5297 GB, free: 12.96 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.525/6.55, allocations: 0 / 0.5297 GB, free: 12.96 MB / 458.8 MB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv --start-time 0 --stop-time 20 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(x) in file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv. Warning: Get data of variable der(x) from file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv failed! Error: Could not read variable p in file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv. Warning: Get data of variable p from file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv failed! Error: Could not read variable y in file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv. Warning: Get data of variable y from file ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.257909515872598]