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 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_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 3.2.3+maint.om/package.mo): time 0.0008393/0.0008393, allocations: 176.3 kB / 17.4 MB, free: 4.422 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.197/1.197, allocations: 205.4 MB / 223.5 MB, free: 9.016 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.0006914/0.0006912, allocations: 93.48 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7476/0.7476, allocations: 120.4 MB / 440.6 MB, free: 4.078 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003254, allocations: 8 kB / 0.5188 GB, free: 57.26 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1128, allocations: 80 MB / 0.597 GB, free: 9.125 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5978/0.7106, allocations: 124.4 MB / 0.7184 GB, free: 18.82 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001377/0.7108, allocations: 47.95 kB / 0.7184 GB, free: 18.82 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.001862/0.7126, allocations: 0.7643 MB / 0.7192 GB, free: 18.47 MB / 0.4953 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7127, allocations: 2.906 kB / 0.7192 GB, free: 18.47 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.7127, allocations: 0 / 0.7192 GB, free: 18.47 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.0001993/0.7129, allocations: 330 kB / 0.7195 GB, free: 18.11 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.7129, allocations: 7.406 kB / 0.7195 GB, free: 18.11 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.7129, allocations: 5.375 kB / 0.7195 GB, free: 18.11 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.303e-05/0.713, allocations: 171.6 kB / 0.7197 GB, free: 17.9 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.713, allocations: 4.375 kB / 0.7197 GB, free: 17.9 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.7131, allocations: 8.125 kB / 0.7197 GB, free: 17.89 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.245e-05/0.7131, allocations: 37.28 kB / 0.7197 GB, free: 17.86 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.7131, allocations: 192 / 0.7197 GB, free: 17.86 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.7132, allocations: 7.875 kB / 0.7197 GB, free: 17.86 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.7132, allocations: 0 / 0.7197 GB, free: 17.86 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.143e-05/0.7132, allocations: 7.031 kB / 0.7197 GB, free: 17.86 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001074/0.7133, allocations: 151.8 kB / 0.7199 GB, free: 17.67 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.7135, allocations: 50.41 kB / 0.7199 GB, free: 17.64 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/0.7135, allocations: 8.703 kB / 0.7199 GB, free: 17.63 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.7135, allocations: 0 / 0.7199 GB, free: 17.63 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.7136, allocations: 36.81 kB / 0.72 GB, free: 17.59 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.7136, allocations: 0 / 0.72 GB, free: 17.59 MB / 0.4953 GB Notification: Performance of matching and sorting (n=3): time 0.0001225/0.7137, allocations: 57.02 kB / 0.72 GB, free: 17.55 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.791e-05/0.7137, allocations: 51.41 kB / 0.7201 GB, free: 17.49 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.742e-05/0.7138, allocations: 95.31 kB / 0.7202 GB, free: 17.39 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-06/0.7138, allocations: 33.48 kB / 0.7202 GB, free: 17.35 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 1.262e-05/0.7138, allocations: 87.95 kB / 0.7203 GB, free: 17.27 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.7138, allocations: 9.391 kB / 0.7203 GB, free: 17.26 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.7138, allocations: 0 / 0.7203 GB, free: 17.26 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 3.831e-05/0.7139, allocations: 313 kB / 0.7206 GB, free: 16.95 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.7139, allocations: 7.688 kB / 0.7206 GB, free: 16.95 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.088e-05/0.7139, allocations: 5.984 kB / 0.7206 GB, free: 16.95 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.7139, allocations: 28.27 kB / 0.7206 GB, free: 16.93 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.7139, allocations: 0 / 0.7206 GB, free: 16.93 MB / 0.4953 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.785e-05/0.714, allocations: 49.64 kB / 0.7207 GB, free: 16.9 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.714, allocations: 7.844 kB / 0.7207 GB, free: 16.9 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.714, allocations: 3.938 kB / 0.7207 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.714, allocations: 0 / 0.7207 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.856e-05/0.7141, allocations: 10.03 kB / 0.7207 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.7141, allocations: 0 / 0.7207 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.7141, allocations: 3.938 kB / 0.7207 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.7141, allocations: 0 / 0.7207 GB, free: 16.89 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 4.412e-05/0.7142, allocations: 116 kB / 0.7208 GB, free: 16.77 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-06/0.7142, allocations: 3.906 kB / 0.7208 GB, free: 16.77 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.7143, allocations: 71 kB / 0.7209 GB, free: 16.73 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7143, allocations: 0 / 0.7209 GB, free: 16.73 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7143, allocations: 0 / 0.7209 GB, free: 16.73 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.7143, allocations: 336 / 0.7209 GB, free: 16.73 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.332e-05/0.7144, allocations: 158.3 kB / 0.721 GB, free: 16.54 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.7144, allocations: 0 / 0.721 GB, free: 16.54 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.7145, allocations: 15.62 kB / 0.7211 GB, free: 16.54 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.7145, allocations: 6.266 kB / 0.7211 GB, free: 16.54 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.7145, allocations: 11.86 kB / 0.7211 GB, free: 16.53 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.7145, allocations: 2.938 kB / 0.7211 GB, free: 16.53 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7145, allocations: 0 / 0.7211 GB, free: 16.53 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.7146, allocations: 92.66 kB / 0.7212 GB, free: 16.46 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.7147, allocations: 87.42 kB / 0.7212 GB, free: 16.37 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.7147, allocations: 3.938 kB / 0.7213 GB, free: 16.36 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.7147, allocations: 4.062 kB / 0.7213 GB, free: 16.36 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.7147, allocations: 3.844 kB / 0.7213 GB, free: 16.36 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.7147, allocations: 2.719 kB / 0.7213 GB, free: 16.36 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 1.521e-05/0.7147, allocations: 83.06 kB / 0.7213 GB, free: 16.28 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7147, allocations: 0 / 0.7213 GB, free: 16.28 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0001995/0.7149, allocations: 19.66 kB / 0.7214 GB, free: 16.27 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 9.163e-05/0.715, allocations: 113.1 kB / 0.7215 GB, free: 16.18 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 7.284e-05/0.7151, allocations: 25.92 kB / 0.7215 GB, free: 16.17 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.7151, allocations: 0 / 0.7215 GB, free: 16.17 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 2.091e-05/0.7152, allocations: 21.98 kB / 0.7215 GB, free: 16.17 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.7153, allocations: 3.875 kB / 0.7215 GB, free: 16.17 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/0.7155, allocations: 128.3 kB / 0.7216 GB, free: 16.04 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.716, allocations: 0.6853 MB / 0.7223 GB, free: 31.34 MB / 0.5109 GB Notification: Performance of simCode: alias equations: time 2.801e-05/0.716, allocations: 8.609 kB / 0.7223 GB, free: 31.34 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.7161, allocations: 13.77 kB / 0.7223 GB, free: 31.33 MB / 0.5109 GB Notification: Performance of SimCode: time 2.21e-07/0.7161, allocations: 3.906 kB / 0.7223 GB, free: 31.33 MB / 0.5109 GB Notification: Performance of Templates: time 0.002066/0.7181, allocations: 0.5008 MB / 0.7228 GB, free: 31.25 MB / 0.5109 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/jenkins1/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