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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008621/0.000862, allocations: 93.97 kB / 16.31 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008791/0.0008791, allocations: 181.1 kB / 17.21 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.124/1.124, allocations: 223.2 MB / 241.2 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7559/0.7559, allocations: 120.5 MB / 412.8 MB, free: 9.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002594/0.0002594, allocations: 11.98 kB / 0.4943 GB, free: 11.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3986, allocations: 82.84 MB / 0.5752 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0003479/0.3989, allocations: 126.1 kB / 0.5753 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002974/0.3993, allocations: 212.6 kB / 0.5755 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.3993, allocations: 0 / 0.5755 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.076e-06/0.3993, allocations: 0 / 0.5755 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.3994, allocations: 1.156 kB / 0.5755 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.075e-05/0.3995, allocations: 22.59 kB / 0.5755 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.461e-05/0.3996, allocations: 7.484 kB / 0.5755 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.3996, allocations: 5.031 kB / 0.5755 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.84e-05/0.3996, allocations: 6.125 kB / 0.5755 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.533e-05/0.3997, allocations: 3.469 kB / 0.5755 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.3997, allocations: 3.938 kB / 0.5755 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.183e-05/0.3998, allocations: 27.5 kB / 0.5756 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.714e-06/0.3998, allocations: 4.953 kB / 0.5756 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.206e-05/0.3998, allocations: 30.92 kB / 0.5756 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.26e-05/0.3998, allocations: 10.48 kB / 0.5756 GB, free: 41.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3998, allocations: 0 / 0.5756 GB, free: 41.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3999, allocations: 1.094 kB / 0.5756 GB, free: 41.57 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.635e-06/0.3999, allocations: 7.938 kB / 0.5756 GB, free: 41.57 MB / 462.3 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.0002166/0.4001, allocations: 316.8 kB / 0.5759 GB, free: 41.21 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.4001, allocations: 8.875 kB / 0.5759 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.4001, allocations: 5.516 kB / 0.5759 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.676e-05/0.4002, allocations: 165 kB / 0.5761 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.4002, allocations: 4.844 kB / 0.5761 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.4002, allocations: 2.344 kB / 0.5761 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.072e-05/0.4003, allocations: 33.09 kB / 0.5761 GB, free: 40.97 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.4003, allocations: 1.062 kB / 0.5761 GB, free: 40.97 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.4003, allocations: 7.984 kB / 0.5761 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4003, allocations: 1.156 kB / 0.5761 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.144e-05/0.4004, allocations: 15.91 kB / 0.5762 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.275e-05/0.4005, allocations: 153.4 kB / 0.5763 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.4007, allocations: 44.8 kB / 0.5763 GB, free: 40.72 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.4007, allocations: 8.484 kB / 0.5763 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.4007, allocations: 0 / 0.5763 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.918e-06/0.4007, allocations: 34.56 kB / 0.5764 GB, free: 40.67 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.4007, allocations: 1.781 kB / 0.5764 GB, free: 40.67 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001166/0.4008, allocations: 59.05 kB / 0.5764 GB, free: 40.62 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.619e-05/0.4009, allocations: 51.41 kB / 0.5765 GB, free: 40.56 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.775e-05/0.4009, allocations: 100.4 kB / 0.5766 GB, free: 40.45 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.209e-06/0.4009, allocations: 25.7 kB / 0.5766 GB, free: 40.42 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.08e-05/0.4009, allocations: 81.52 kB / 0.5767 GB, free: 40.34 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.401, allocations: 17.3 kB / 0.5767 GB, free: 40.32 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.401, allocations: 0 / 0.5767 GB, free: 40.32 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.216e-05/0.401, allocations: 316.1 kB / 0.577 GB, free: 40.01 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.401, allocations: 3.781 kB / 0.577 GB, free: 40.01 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/0.401, allocations: 7.812 kB / 0.577 GB, free: 40 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.905e-05/0.4011, allocations: 7.703 kB / 0.577 GB, free: 40 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4011, allocations: 0 / 0.577 GB, free: 40 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.632e-05/0.4011, allocations: 59.84 kB / 0.5771 GB, free: 39.95 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.4011, allocations: 8.156 kB / 0.5771 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.4012, allocations: 4 kB / 0.5771 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.4012, allocations: 1.312 kB / 0.5771 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.81e-05/0.4012, allocations: 5.062 kB / 0.5771 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.4012, allocations: 0 / 0.5771 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.4012, allocations: 4.906 kB / 0.5771 GB, free: 39.94 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.4013, allocations: 5.234 kB / 0.5771 GB, free: 39.93 MB / 462.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.4013, allocations: 111.5 kB / 0.5772 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.4013, allocations: 1.375 kB / 0.5772 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.4014, allocations: 69.16 kB / 0.5773 GB, free: 39.75 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4014, allocations: 5.312 kB / 0.5773 GB, free: 39.75 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4014, allocations: 4 kB / 0.5773 GB, free: 39.74 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4014, allocations: 5.328 kB / 0.5773 GB, free: 39.74 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.566e-05/0.4015, allocations: 167.6 kB / 0.5775 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4015, allocations: 1.344 kB / 0.5775 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.771e-05/0.4016, allocations: 7.938 kB / 0.5775 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4016, allocations: 0 / 0.5775 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.4016, allocations: 1.281 kB / 0.5775 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4016, allocations: 1.312 kB / 0.5775 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4016, allocations: 4 kB / 0.5775 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.4017, allocations: 108.8 kB / 0.5776 GB, free: 39.43 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.4017, allocations: 78.59 kB / 0.5776 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.4017, allocations: 0.9688 kB / 0.5776 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.711e-05/0.4018, allocations: 1.062 kB / 0.5777 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.4018, allocations: 10.11 kB / 0.5777 GB, free: 39.33 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.4018, allocations: 1.062 kB / 0.5777 GB, free: 39.33 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.523e-05/0.4018, allocations: 85.66 kB / 0.5777 GB, free: 39.25 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4018, allocations: 0 / 0.5777 GB, free: 39.25 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001676/0.402, allocations: 7.906 kB / 0.5778 GB, free: 39.25 MB / 462.3 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 (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 8.12e-05/0.4021, allocations: 106.7 kB / 0.5779 GB, free: 39.14 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 7.116e-05/0.4022, allocations: 23.33 kB / 0.5779 GB, free: 39.14 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4022, allocations: 3.938 kB / 0.5779 GB, free: 39.13 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.481e-05/0.4022, allocations: 22.45 kB / 0.5779 GB, free: 39.12 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.4023, allocations: 9.984 kB / 0.5779 GB, free: 39.11 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001901/0.4025, allocations: 136.5 kB / 0.578 GB, free: 38.97 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.563e-05/0.4026, allocations: 0.6791 MB / 0.5787 GB, free: 38.27 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.374e-05/0.4026, allocations: 4.344 kB / 0.5787 GB, free: 38.27 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.4026, allocations: 9.125 kB / 0.5787 GB, free: 38.27 MB / 462.3 MB Notification: Performance of SimCode: time 2.61e-07/0.4027, allocations: 5.312 kB / 0.5787 GB, free: 38.26 MB / 462.3 MB Notification: Performance of Templates: time 0.001986/0.4046, allocations: 0.5287 MB / 0.5792 GB, free: 37.99 MB / 462.3 MB 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