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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.0008654/0.0008653, allocations: 180 kB / 17.4 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.4 MB / 223.6 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007505/0.0007505, allocations: 84.98 kB / 271.9 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8601/0.8601, allocations: 120.4 MB / 440.6 MB, free: 4.09 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003749, allocations: 12 kB / 0.5188 GB, free: 57.27 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1309, allocations: 80 MB / 0.597 GB, free: 9.133 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7168/0.8477, allocations: 124.4 MB / 0.7184 GB, free: 18.93 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/0.848, allocations: 51.22 kB / 0.7184 GB, free: 18.93 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.00221/0.8502, allocations: 0.77 MB / 0.7192 GB, free: 18.57 MB / 0.4953 GB Notification: Performance of FrontEnd: time 3.146e-06/0.8502, allocations: 0 / 0.7192 GB, free: 18.57 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.8503, allocations: 0 / 0.7192 GB, free: 18.57 MB / 0.4953 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.000281/0.8506, allocations: 330.8 kB / 0.7195 GB, free: 18.21 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.8506, allocations: 7.531 kB / 0.7195 GB, free: 18.21 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.8507, allocations: 5.562 kB / 0.7195 GB, free: 18.21 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.722e-05/0.8508, allocations: 175 kB / 0.7197 GB, free: 18 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.8508, allocations: 384 / 0.7197 GB, free: 18 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.8508, allocations: 384 / 0.7197 GB, free: 18 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.912e-05/0.8509, allocations: 33.31 kB / 0.7197 GB, free: 17.97 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.8509, allocations: 4 kB / 0.7197 GB, free: 17.97 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.8509, allocations: 7.75 kB / 0.7197 GB, free: 17.97 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.8509, allocations: 3.984 kB / 0.7197 GB, free: 17.96 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.751e-05/0.851, allocations: 6.922 kB / 0.7197 GB, free: 17.96 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.8511, allocations: 156.5 kB / 0.7199 GB, free: 17.77 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.8513, allocations: 44.14 kB / 0.7199 GB, free: 17.75 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.8514, allocations: 11.88 kB / 0.7199 GB, free: 17.74 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.8514, allocations: 7.859 kB / 0.7199 GB, free: 17.73 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.8514, allocations: 30.56 kB / 0.72 GB, free: 17.7 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.8514, allocations: 0 / 0.72 GB, free: 17.7 MB / 0.4953 GB Notification: Performance of matching and sorting (n=3): time 0.0001687/0.8516, allocations: 55.91 kB / 0.72 GB, free: 17.66 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.8516, allocations: 55.41 kB / 0.7201 GB, free: 17.59 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.195e-05/0.8517, allocations: 96.8 kB / 0.7202 GB, free: 17.49 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.8517, allocations: 25.7 kB / 0.7202 GB, free: 17.46 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.887e-05/0.8517, allocations: 84.44 kB / 0.7203 GB, free: 17.38 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.8518, allocations: 7.844 kB / 0.7203 GB, free: 17.37 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.8518, allocations: 0 / 0.7203 GB, free: 17.37 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 6.269e-05/0.8519, allocations: 321.8 kB / 0.7206 GB, free: 17.06 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.8519, allocations: 4.125 kB / 0.7206 GB, free: 17.05 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/0.8519, allocations: 7.781 kB / 0.7206 GB, free: 17.05 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.8519, allocations: 27.36 kB / 0.7206 GB, free: 17.04 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.8519, allocations: 0 / 0.7206 GB, free: 17.04 MB / 0.4953 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.381e-05/0.852, allocations: 51.89 kB / 0.7207 GB, free: 17 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.8521, allocations: 7.719 kB / 0.7207 GB, free: 17 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.8521, allocations: 7.875 kB / 0.7207 GB, free: 17 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.8521, allocations: 0 / 0.7207 GB, free: 17 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.239e-05/0.8521, allocations: 10.58 kB / 0.7207 GB, free: 17 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.8521, allocations: 0 / 0.7207 GB, free: 17 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.8522, allocations: 4 kB / 0.7207 GB, free: 16.99 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.8522, allocations: 0 / 0.7207 GB, free: 16.99 MB / 0.4953 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/0.8522, allocations: 113.6 kB / 0.7208 GB, free: 16.88 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.8523, allocations: 0 / 0.7208 GB, free: 16.88 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.8524, allocations: 77.25 kB / 0.7209 GB, free: 16.83 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8524, allocations: 0 / 0.7209 GB, free: 16.83 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8524, allocations: 0 / 0.7209 GB, free: 16.83 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8524, allocations: 3.781 kB / 0.7209 GB, free: 16.83 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.671e-05/0.8525, allocations: 159.7 kB / 0.721 GB, free: 16.64 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8525, allocations: 3.844 kB / 0.7211 GB, free: 16.64 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.8526, allocations: 10.8 kB / 0.7211 GB, free: 16.64 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.8526, allocations: 0 / 0.7211 GB, free: 16.64 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.8526, allocations: 3.938 kB / 0.7211 GB, free: 16.64 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.8526, allocations: 0 / 0.7211 GB, free: 16.64 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8526, allocations: 0 / 0.7211 GB, free: 16.64 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.8528, allocations: 101.3 kB / 0.7212 GB, free: 16.57 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.8528, allocations: 81.5 kB / 0.7212 GB, free: 16.47 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.8528, allocations: 7.5 kB / 0.7212 GB, free: 16.47 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.014e-05/0.8529, allocations: 6.797 kB / 0.7213 GB, free: 16.46 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.8529, allocations: 7.828 kB / 0.7213 GB, free: 16.46 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.8529, allocations: 0 / 0.7213 GB, free: 16.46 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 2.124e-05/0.8529, allocations: 79.12 kB / 0.7213 GB, free: 16.39 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8529, allocations: 0 / 0.7213 GB, free: 16.39 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0002301/0.8532, allocations: 22.73 kB / 0.7214 GB, free: 16.38 MB / 0.4953 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 (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.0001245/0.8533, allocations: 110.5 kB / 0.7215 GB, free: 16.28 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 8.395e-05/0.8534, allocations: 22.56 kB / 0.7215 GB, free: 16.28 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8534, allocations: 0 / 0.7215 GB, free: 16.28 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-05/0.8534, allocations: 21.33 kB / 0.7215 GB, free: 16.28 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.8536, allocations: 3.938 kB / 0.7215 GB, free: 16.28 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.8539, allocations: 130.5 kB / 0.7216 GB, free: 16.15 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.854, allocations: 0.6874 MB / 0.7223 GB, free: 15.45 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 3.639e-05/0.8541, allocations: 11.28 kB / 0.7223 GB, free: 15.45 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.756e-05/0.8541, allocations: 11.28 kB / 0.7223 GB, free: 15.44 MB / 0.4953 GB Notification: Performance of SimCode: time 4.2e-07/0.8541, allocations: 0 / 0.7223 GB, free: 15.44 MB / 0.4953 GB Notification: Performance of Templates: time 0.002466/0.8566, allocations: 0.5075 MB / 0.7228 GB, free: 15.36 MB / 0.4953 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/jenkins1/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