Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) 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) 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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 179.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 221.4 MB / 235.5 MB, free: 2.883 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009691/0.000969, allocations: 94.05 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9079/0.9079, allocations: 120.5 MB / 457.9 MB, free: 7.035 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.851e-05, allocations: 4 kB / 0.5357 GB, free: 12.19 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5235/0.5235, allocations: 82.83 MB / 0.6166 GB, free: 9.348 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.6592, allocations: 125.1 MB / 0.7388 GB, free: 12.1 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001306/0.6594, allocations: 51.86 kB / 0.7388 GB, free: 12.05 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.002005/0.6614, allocations: 0.7711 MB / 0.7396 GB, free: 11.28 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6614, allocations: 0 / 0.7396 GB, free: 11.28 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.6614, allocations: 0 / 0.7396 GB, free: 11.28 MB / 0.5419 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.0002277/0.6617, allocations: 322.5 kB / 0.7399 GB, free: 10.92 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.6617, allocations: 8.031 kB / 0.7399 GB, free: 10.91 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.6617, allocations: 7.953 kB / 0.7399 GB, free: 10.9 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.6619, allocations: 163.1 kB / 0.7401 GB, free: 10.7 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.6619, allocations: 0 / 0.7401 GB, free: 10.7 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.6619, allocations: 4 kB / 0.7401 GB, free: 10.7 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.894e-05/0.662, allocations: 40.91 kB / 0.7401 GB, free: 10.66 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.662, allocations: 3.938 kB / 0.7401 GB, free: 10.65 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.662, allocations: 7.984 kB / 0.7401 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.662, allocations: 0 / 0.7401 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.329e-05/0.662, allocations: 7.953 kB / 0.7401 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.6622, allocations: 157.7 kB / 0.7403 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.6624, allocations: 42.67 kB / 0.7403 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.6624, allocations: 12.86 kB / 0.7403 GB, free: 10.37 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.6624, allocations: 0 / 0.7403 GB, free: 10.37 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.6625, allocations: 38.5 kB / 0.7404 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.6625, allocations: 0 / 0.7404 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0001205/0.6626, allocations: 49.69 kB / 0.7404 GB, free: 10.27 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.6626, allocations: 51.41 kB / 0.7405 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.329e-05/0.6627, allocations: 89 kB / 0.7406 GB, free: 10.11 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.6627, allocations: 25.7 kB / 0.7406 GB, free: 10.08 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.6627, allocations: 88.06 kB / 0.7407 GB, free: 9.988 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.6628, allocations: 15.97 kB / 0.7407 GB, free: 9.973 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.6628, allocations: 0 / 0.7407 GB, free: 9.973 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.6629, allocations: 318.8 kB / 0.741 GB, free: 9.652 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.6629, allocations: 8 kB / 0.741 GB, free: 9.645 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.6629, allocations: 4 kB / 0.741 GB, free: 9.641 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.139e-05/0.6629, allocations: 7.984 kB / 0.741 GB, free: 9.633 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.663, allocations: 0 / 0.741 GB, free: 9.633 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.371e-05/0.663, allocations: 49.62 kB / 0.741 GB, free: 9.578 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.6631, allocations: 8 kB / 0.7411 GB, free: 9.57 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.6631, allocations: 0 / 0.7411 GB, free: 9.57 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.6631, allocations: 4 kB / 0.7411 GB, free: 9.566 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.933e-05/0.6631, allocations: 4 kB / 0.7411 GB, free: 9.562 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.6631, allocations: 0 / 0.7411 GB, free: 9.562 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.181e-05/0.6632, allocations: 11.94 kB / 0.7411 GB, free: 9.551 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.6632, allocations: 0 / 0.7411 GB, free: 9.551 MB / 0.5419 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/0.6632, allocations: 108.9 kB / 0.7412 GB, free: 9.438 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-06/0.6632, allocations: 7.906 kB / 0.7412 GB, free: 9.43 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.6634, allocations: 73.12 kB / 0.7413 GB, free: 9.348 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6634, allocations: 0 / 0.7413 GB, free: 9.348 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.6634, allocations: 0 / 0.7413 GB, free: 9.348 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6634, allocations: 3.984 kB / 0.7413 GB, free: 9.344 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.943e-05/0.6635, allocations: 165.6 kB / 0.7414 GB, free: 9.133 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.6635, allocations: 0 / 0.7414 GB, free: 9.133 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.6636, allocations: 8 kB / 0.7414 GB, free: 9.125 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6636, allocations: 0 / 0.7414 GB, free: 9.125 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.6636, allocations: 4 kB / 0.7414 GB, free: 9.121 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6636, allocations: 0 / 0.7414 GB, free: 9.121 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.6636, allocations: 0 / 0.7414 GB, free: 9.121 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.6638, allocations: 112.9 kB / 0.7415 GB, free: 8.992 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.6638, allocations: 81.14 kB / 0.7416 GB, free: 8.895 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.6638, allocations: 192 / 0.7416 GB, free: 8.895 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/0.6638, allocations: 4.125 kB / 0.7416 GB, free: 8.891 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.6639, allocations: 7.984 kB / 0.7416 GB, free: 8.883 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.6639, allocations: 0 / 0.7416 GB, free: 8.883 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 5.236e-05/0.6639, allocations: 79.34 kB / 0.7417 GB, free: 8.805 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6639, allocations: 3.938 kB / 0.7417 GB, free: 8.801 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001699/0.6641, allocations: 27.92 kB / 0.7417 GB, free: 8.773 MB / 0.5419 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001214/0.6642, allocations: 99.25 kB / 0.7418 GB, free: 8.664 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.586e-05/0.6643, allocations: 27.92 kB / 0.7419 GB, free: 8.637 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6643, allocations: 0 / 0.7419 GB, free: 8.637 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.161e-05/0.6644, allocations: 16 kB / 0.7419 GB, free: 8.621 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.529e-05/0.6645, allocations: 7.953 kB / 0.7419 GB, free: 8.613 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002191/0.6647, allocations: 87.09 kB / 0.742 GB, free: 8.508 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.6649, allocations: 0.6809 MB / 0.7426 GB, free: 7.801 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 2.654e-05/0.6649, allocations: 4 kB / 0.7426 GB, free: 7.797 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.665, allocations: 7.438 kB / 0.7426 GB, free: 7.789 MB / 0.5419 GB Notification: Performance of SimCode: time 2.21e-07/0.665, allocations: 0 / 0.7426 GB, free: 7.789 MB / 0.5419 GB Notification: Performance of Templates: time 0.002089/0.6671, allocations: 0.5123 MB / 0.7431 GB, free: 7.285 MB / 0.5419 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches