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/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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 175.1 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.438/1.438, allocations: 221.3 MB / 235.5 MB, free: 2.953 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.001242/0.001242, allocations: 94.3 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.045/1.045, allocations: 120.5 MB / 457.9 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.881e-05/2.891e-05, allocations: 4 kB / 0.5357 GB, free: 12.21 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6067/0.6068, allocations: 82.84 MB / 0.6166 GB, free: 9.352 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.7559, allocations: 125.1 MB / 0.7388 GB, free: 12.1 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001141/0.7561, allocations: 51.97 kB / 0.7388 GB, free: 12.05 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.002017/0.7581, allocations: 0.775 MB / 0.7396 GB, free: 11.27 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7581, allocations: 0 / 0.7396 GB, free: 11.27 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.7582, allocations: 0 / 0.7396 GB, free: 11.27 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.0002566/0.7584, allocations: 318.5 kB / 0.7399 GB, free: 10.92 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.7585, allocations: 12.03 kB / 0.7399 GB, free: 10.91 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.7585, allocations: 3.953 kB / 0.7399 GB, free: 10.9 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.7586, allocations: 159.1 kB / 0.7401 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.7586, allocations: 4 kB / 0.7401 GB, free: 10.7 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.7587, allocations: 4 kB / 0.7401 GB, free: 10.7 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.505e-05/0.7588, allocations: 44.84 kB / 0.7401 GB, free: 10.65 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.7588, allocations: 0 / 0.7401 GB, free: 10.65 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.7588, allocations: 0 / 0.7401 GB, free: 10.65 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.7588, allocations: 0 / 0.7401 GB, free: 10.65 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.811e-05/0.7588, allocations: 11.95 kB / 0.7401 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.759, allocations: 153.7 kB / 0.7403 GB, free: 10.44 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.7592, allocations: 42.61 kB / 0.7403 GB, free: 10.39 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.7592, allocations: 8.922 kB / 0.7403 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.7592, allocations: 0 / 0.7403 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.7593, allocations: 38.5 kB / 0.7404 GB, free: 10.33 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.7593, allocations: 0 / 0.7404 GB, free: 10.33 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.000117/0.7594, allocations: 45.69 kB / 0.7404 GB, free: 10.28 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.7594, allocations: 59.33 kB / 0.7405 GB, free: 10.21 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.61e-05/0.7595, allocations: 97 kB / 0.7406 GB, free: 10.11 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.7595, allocations: 25.7 kB / 0.7406 GB, free: 10.08 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/0.7596, allocations: 80.14 kB / 0.7407 GB, free: 9.996 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.7596, allocations: 11.84 kB / 0.7407 GB, free: 9.984 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.7596, allocations: 4 kB / 0.7407 GB, free: 9.98 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.7597, allocations: 314.8 kB / 0.741 GB, free: 9.664 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.7597, allocations: 4 kB / 0.741 GB, free: 9.66 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.513e-05/0.7598, allocations: 11.98 kB / 0.741 GB, free: 9.648 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.226e-05/0.7598, allocations: 12.19 kB / 0.741 GB, free: 9.637 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7598, allocations: 4 kB / 0.741 GB, free: 9.633 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.16e-05/0.7599, allocations: 53.62 kB / 0.741 GB, free: 9.574 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.7599, allocations: 5.719 kB / 0.7411 GB, free: 9.57 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.7599, allocations: 0 / 0.7411 GB, free: 9.57 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.7599, allocations: 4 kB / 0.7411 GB, free: 9.566 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.551e-05/0.76, allocations: 11.98 kB / 0.7411 GB, free: 9.555 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.76, allocations: 0 / 0.7411 GB, free: 9.555 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.749e-05/0.76, allocations: 0 / 0.7411 GB, free: 9.555 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.76, allocations: 0 / 0.7411 GB, free: 9.555 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.999e-05/0.7601, allocations: 116.9 kB / 0.7412 GB, free: 9.434 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.7601, allocations: 3.906 kB / 0.7412 GB, free: 9.43 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.7602, allocations: 69.11 kB / 0.7413 GB, free: 9.352 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.7602, allocations: 0 / 0.7413 GB, free: 9.352 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.7602, allocations: 0 / 0.7413 GB, free: 9.352 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.7602, allocations: 4 kB / 0.7413 GB, free: 9.348 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.532e-05/0.7603, allocations: 161.6 kB / 0.7414 GB, free: 9.141 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7603, allocations: 0 / 0.7414 GB, free: 9.141 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.7604, allocations: 12 kB / 0.7414 GB, free: 9.129 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7604, allocations: 4 kB / 0.7414 GB, free: 9.125 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.7604, allocations: 0 / 0.7414 GB, free: 9.125 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.7604, allocations: 3.984 kB / 0.7414 GB, free: 9.121 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7604, allocations: 0 / 0.7414 GB, free: 9.121 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.7606, allocations: 104.9 kB / 0.7415 GB, free: 9 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.7606, allocations: 77.11 kB / 0.7416 GB, free: 8.906 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.7606, allocations: 0 / 0.7416 GB, free: 8.906 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.097e-05/0.7607, allocations: 4 kB / 0.7416 GB, free: 8.902 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.7607, allocations: 12.08 kB / 0.7416 GB, free: 8.891 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.7607, allocations: 0 / 0.7416 GB, free: 8.891 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 2.956e-05/0.7607, allocations: 79.28 kB / 0.7417 GB, free: 8.812 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7607, allocations: 0 / 0.7417 GB, free: 8.812 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001702/0.7609, allocations: 15.94 kB / 0.7417 GB, free: 8.797 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.0001213/0.761, allocations: 115.2 kB / 0.7418 GB, free: 8.672 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 9.804e-05/0.7611, allocations: 27.88 kB / 0.7418 GB, free: 8.645 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.7612, allocations: 4.094 kB / 0.7418 GB, free: 8.641 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.712e-05/0.7612, allocations: 20.12 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.445e-05/0.7613, allocations: 7.891 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.0002186/0.7615, allocations: 83 kB / 0.742 GB, free: 8.512 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.7617, allocations: 0.6809 MB / 0.7426 GB, free: 7.805 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.7618, allocations: 7.984 kB / 0.7426 GB, free: 7.797 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.7618, allocations: 15.44 kB / 0.7426 GB, free: 7.781 MB / 0.5419 GB Notification: Performance of SimCode: time 2.3e-07/0.7618, allocations: 0 / 0.7426 GB, free: 7.781 MB / 0.5419 GB Notification: Performance of Templates: time 0.002173/0.764, allocations: 0.5031 MB / 0.7431 GB, free: 7.281 MB / 0.5419 GB 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