Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008798/0.0008798, allocations: 183.2 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 225.7 MB / 243.2 MB, free: 10.23 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007702/0.0007702, allocations: 92.78 kB / 294.4 MB, free: 9.719 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.6906/0.6906, allocations: 120.5 MB / 465.9 MB, free: 7.754 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002743, allocations: 8 kB / 0.5464 GB, free: 41.35 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1143, allocations: 82.85 MB / 0.6273 GB, free: 7.855 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0003973/0.1147, allocations: 121.4 kB / 0.6274 GB, free: 7.738 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004573/0.1152, allocations: 382.1 kB / 0.6278 GB, free: 7.332 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.1152, allocations: 0 / 0.6278 GB, free: 7.332 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.1153, allocations: 0 / 0.6278 GB, free: 7.332 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.1154, allocations: 0 / 0.6278 GB, free: 7.332 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.732e-05/0.1155, allocations: 23.91 kB / 0.6278 GB, free: 7.309 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 3.784e-05/0.1155, allocations: 8 kB / 0.6278 GB, free: 7.301 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.1156, allocations: 0 / 0.6278 GB, free: 7.301 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.917e-05/0.1156, allocations: 7.938 kB / 0.6278 GB, free: 7.293 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.1156, allocations: 11.97 kB / 0.6278 GB, free: 7.281 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 8.256e-06/0.1157, allocations: 0 / 0.6278 GB, free: 7.281 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.899e-05/0.1157, allocations: 27.98 kB / 0.6278 GB, free: 7.254 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.1158, allocations: 0 / 0.6278 GB, free: 7.254 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.1158, allocations: 33.64 kB / 0.6279 GB, free: 7.215 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.576e-05/0.1159, allocations: 23.95 kB / 0.6279 GB, free: 7.191 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1159, allocations: 3.938 kB / 0.6279 GB, free: 7.188 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1159, allocations: 0 / 0.6279 GB, free: 7.188 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.1159, allocations: 0 / 0.6279 GB, free: 7.188 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.0002936/0.1162, allocations: 319.6 kB / 0.6282 GB, free: 6.824 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.1162, allocations: 8.031 kB / 0.6282 GB, free: 6.816 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.1163, allocations: 8.844 kB / 0.6282 GB, free: 6.809 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.702e-05/0.1164, allocations: 168.6 kB / 0.6284 GB, free: 6.605 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.1164, allocations: 384 / 0.6284 GB, free: 6.605 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.1164, allocations: 4.312 kB / 0.6284 GB, free: 6.602 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.733e-05/0.1165, allocations: 42.25 kB / 0.6284 GB, free: 6.555 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.1165, allocations: 192 / 0.6284 GB, free: 6.555 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1165, allocations: 3.938 kB / 0.6284 GB, free: 6.551 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.1165, allocations: 0 / 0.6284 GB, free: 6.551 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.04e-05/0.1166, allocations: 7.984 kB / 0.6284 GB, free: 6.543 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.1167, allocations: 161.7 kB / 0.6286 GB, free: 6.336 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1169, allocations: 42.5 kB / 0.6286 GB, free: 6.285 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.213e-05/0.1169, allocations: 12.92 kB / 0.6286 GB, free: 6.27 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.1169, allocations: 0 / 0.6286 GB, free: 6.27 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.117, allocations: 38.56 kB / 0.6287 GB, free: 6.223 MB / 442.8 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.117, allocations: 0 / 0.6287 GB, free: 6.223 MB / 442.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001326/0.1171, allocations: 53.7 kB / 0.6287 GB, free: 6.164 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.1171, allocations: 59.34 kB / 0.6288 GB, free: 6.094 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.116e-05/0.1172, allocations: 97.86 kB / 0.6289 GB, free: 5.988 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.1172, allocations: 25.7 kB / 0.6289 GB, free: 5.957 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.1173, allocations: 80.14 kB / 0.629 GB, free: 5.875 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.1173, allocations: 7.812 kB / 0.629 GB, free: 5.867 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.1173, allocations: 4 kB / 0.629 GB, free: 5.863 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.1174, allocations: 318.8 kB / 0.6293 GB, free: 5.543 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.1174, allocations: 4.125 kB / 0.6293 GB, free: 5.539 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.166e-05/0.1174, allocations: 8 kB / 0.6293 GB, free: 5.531 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.1175, allocations: 24.84 kB / 0.6293 GB, free: 5.504 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1175, allocations: 0 / 0.6293 GB, free: 5.504 MB / 442.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.1e-05/0.1176, allocations: 45.97 kB / 0.6294 GB, free: 5.453 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1176, allocations: 8 kB / 0.6294 GB, free: 5.445 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1176, allocations: 11.81 kB / 0.6294 GB, free: 5.434 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1176, allocations: 0 / 0.6294 GB, free: 5.434 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.14e-05/0.1177, allocations: 8 kB / 0.6294 GB, free: 5.426 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1177, allocations: 0 / 0.6294 GB, free: 5.426 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.1177, allocations: 4.047 kB / 0.6294 GB, free: 5.422 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1177, allocations: 7.984 kB / 0.6294 GB, free: 5.414 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.866e-05/0.1178, allocations: 117.8 kB / 0.6295 GB, free: 5.289 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.1178, allocations: 4 kB / 0.6295 GB, free: 5.285 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.1179, allocations: 69.12 kB / 0.6296 GB, free: 5.203 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1179, allocations: 0 / 0.6296 GB, free: 5.203 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1179, allocations: 3.984 kB / 0.6296 GB, free: 5.199 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1179, allocations: 0 / 0.6296 GB, free: 5.199 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.1181, allocations: 169.5 kB / 0.6298 GB, free: 4.984 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1181, allocations: 0 / 0.6298 GB, free: 4.984 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.328e-05/0.1181, allocations: 8 kB / 0.6298 GB, free: 4.977 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1181, allocations: 0 / 0.6298 GB, free: 4.977 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1181, allocations: 7.875 kB / 0.6298 GB, free: 4.969 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1182, allocations: 4 kB / 0.6298 GB, free: 4.965 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1182, allocations: 0 / 0.6298 GB, free: 4.965 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.1183, allocations: 97.11 kB / 0.6299 GB, free: 4.852 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.1183, allocations: 85.11 kB / 0.63 GB, free: 4.75 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1184, allocations: 3.938 kB / 0.63 GB, free: 4.746 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.922e-05/0.1184, allocations: 0 / 0.63 GB, free: 4.746 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.1184, allocations: 12.02 kB / 0.63 GB, free: 4.734 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.1184, allocations: 0 / 0.63 GB, free: 4.734 MB / 442.8 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.1185, allocations: 83.22 kB / 0.6301 GB, free: 4.652 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1185, allocations: 0 / 0.6301 GB, free: 4.652 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001804/0.1186, allocations: 12 kB / 0.6301 GB, free: 4.641 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.0001058/0.1188, allocations: 107.3 kB / 0.6302 GB, free: 4.523 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 7.726e-05/0.1188, allocations: 27.98 kB / 0.6302 GB, free: 4.496 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1188, allocations: 0 / 0.6302 GB, free: 4.496 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 3.331e-05/0.1189, allocations: 24.05 kB / 0.6302 GB, free: 4.473 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.119, allocations: 0 / 0.6302 GB, free: 4.473 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.1192, allocations: 144.7 kB / 0.6304 GB, free: 4.301 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.1195, allocations: 0.6848 MB / 0.631 GB, free: 3.59 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 2.558e-05/0.1195, allocations: 4 kB / 0.631 GB, free: 3.586 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.1195, allocations: 7.438 kB / 0.631 GB, free: 3.578 MB / 442.8 MB Notification: Performance of SimCode: time 2.6e-07/0.1195, allocations: 0 / 0.631 GB, free: 3.578 MB / 442.8 MB Notification: Performance of Templates: time 0.002124/0.1217, allocations: 0.546 MB / 0.6316 GB, free: 3.035 MB / 442.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches