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.00116/0.00116, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.001195/0.001195, allocations: 180.3 kB / 17.56 MB, free: 6.176 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.404/1.404, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.003/1.003, allocations: 120.5 MB / 413.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 12 kB / 0.4949 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.578/0.5784, allocations: 82.84 MB / 0.5758 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0004526/0.5789, allocations: 136.1 kB / 0.5759 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0004635/0.5794, allocations: 215.6 kB / 0.5761 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/0.5794, allocations: 5.156 kB / 0.5761 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 2.19e-05/0.5795, allocations: 3.938 kB / 0.5761 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.5796, allocations: 1.531 kB / 0.5761 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.428e-05/0.5797, allocations: 17.64 kB / 0.5762 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.859e-05/0.5798, allocations: 12.19 kB / 0.5762 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.5798, allocations: 6.578 kB / 0.5762 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.5799, allocations: 5.641 kB / 0.5762 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.5799, allocations: 6.562 kB / 0.5762 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.58, allocations: 5.062 kB / 0.5762 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.2e-05/0.58, allocations: 23.7 kB / 0.5762 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.5801, allocations: 7.922 kB / 0.5762 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.5801, allocations: 28.61 kB / 0.5762 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 9.08e-05/0.5802, allocations: 23.5 kB / 0.5763 GB, free: 41.57 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5802, allocations: 1.688 kB / 0.5763 GB, free: 41.57 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5802, allocations: 0 / 0.5763 GB, free: 41.57 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.5802, allocations: 0 / 0.5763 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.0002729/0.5805, allocations: 320.7 kB / 0.5766 GB, free: 41.21 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.5805, allocations: 9.844 kB / 0.5766 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.5806, allocations: 0.9375 kB / 0.5766 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.545e-05/0.5807, allocations: 179.7 kB / 0.5768 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.5807, allocations: 1.875 kB / 0.5768 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.5807, allocations: 384 / 0.5768 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.171e-05/0.5808, allocations: 39.12 kB / 0.5768 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.5808, allocations: 192 / 0.5768 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.5808, allocations: 5.656 kB / 0.5768 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5808, allocations: 0 / 0.5768 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.52e-05/0.5809, allocations: 9.562 kB / 0.5768 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.581, allocations: 153.3 kB / 0.577 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.5812, allocations: 42.95 kB / 0.577 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.179e-05/0.5812, allocations: 16.47 kB / 0.577 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.5812, allocations: 0 / 0.577 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.185e-05/0.5812, allocations: 32.31 kB / 0.577 GB, free: 40.67 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.5812, allocations: 0 / 0.577 GB, free: 40.67 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001437/0.5814, allocations: 59.95 kB / 0.5771 GB, free: 40.62 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.5814, allocations: 55.41 kB / 0.5772 GB, free: 40.55 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.801e-05/0.5815, allocations: 93.45 kB / 0.5772 GB, free: 40.46 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.5815, allocations: 25.7 kB / 0.5773 GB, free: 40.43 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.438e-05/0.5815, allocations: 84.12 kB / 0.5774 GB, free: 40.34 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.5816, allocations: 9.719 kB / 0.5774 GB, free: 40.33 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/0.5816, allocations: 15.44 kB / 0.5774 GB, free: 40.31 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.5816, allocations: 310.8 kB / 0.5777 GB, free: 40 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.5817, allocations: 12.31 kB / 0.5777 GB, free: 39.99 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.323e-05/0.5817, allocations: 11.83 kB / 0.5777 GB, free: 39.98 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.827e-05/0.5817, allocations: 17.02 kB / 0.5777 GB, free: 39.97 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5817, allocations: 1.281 kB / 0.5777 GB, free: 39.97 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.672e-05/0.5818, allocations: 55.25 kB / 0.5778 GB, free: 39.92 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.5818, allocations: 7.844 kB / 0.5778 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5818, allocations: 3.938 kB / 0.5778 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.5818, allocations: 1.344 kB / 0.5778 GB, free: 39.92 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.051e-05/0.5819, allocations: 9.984 kB / 0.5778 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.5819, allocations: 7.875 kB / 0.5778 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.5819, allocations: 3.938 kB / 0.5778 GB, free: 39.9 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.5819, allocations: 5.812 kB / 0.5778 GB, free: 39.9 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.582, allocations: 107.1 kB / 0.5779 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.582, allocations: 1.25 kB / 0.5779 GB, free: 39.79 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.5821, allocations: 77.98 kB / 0.578 GB, free: 39.71 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.5821, allocations: 0 / 0.578 GB, free: 39.71 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5822, allocations: 0.875 kB / 0.578 GB, free: 39.71 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5822, allocations: 0 / 0.578 GB, free: 39.71 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.22e-05/0.5822, allocations: 169.2 kB / 0.5781 GB, free: 39.51 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5822, allocations: 0 / 0.5781 GB, free: 39.51 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/0.5823, allocations: 17.05 kB / 0.5782 GB, free: 39.5 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5823, allocations: 0 / 0.5782 GB, free: 39.5 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.5823, allocations: 5.281 kB / 0.5782 GB, free: 39.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5823, allocations: 0 / 0.5782 GB, free: 39.5 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5823, allocations: 1.469 kB / 0.5782 GB, free: 39.5 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.5825, allocations: 96.81 kB / 0.5783 GB, free: 39.41 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.5825, allocations: 86.88 kB / 0.5783 GB, free: 39.31 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.5825, allocations: 5.156 kB / 0.5783 GB, free: 39.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/0.5826, allocations: 0 / 0.5783 GB, free: 39.3 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.5826, allocations: 2.531 kB / 0.5783 GB, free: 39.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.5826, allocations: 1.438 kB / 0.5784 GB, free: 39.3 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.482e-05/0.5826, allocations: 77.09 kB / 0.5784 GB, free: 39.23 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5826, allocations: 0 / 0.5784 GB, free: 39.23 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002029/0.5828, allocations: 15.73 kB / 0.5784 GB, free: 39.22 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.583, allocations: 111.9 kB / 0.5785 GB, free: 39.12 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 9.651e-05/0.5831, allocations: 21.64 kB / 0.5786 GB, free: 39.11 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.5831, allocations: 1.25 kB / 0.5786 GB, free: 39.11 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/0.5831, allocations: 15.22 kB / 0.5786 GB, free: 39.11 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.5833, allocations: 5.312 kB / 0.5786 GB, free: 39.1 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.5836, allocations: 139.8 kB / 0.5787 GB, free: 38.96 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.5837, allocations: 0.6796 MB / 0.5794 GB, free: 38.26 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.662e-05/0.5837, allocations: 11.19 kB / 0.5794 GB, free: 38.25 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.5837, allocations: 10.69 kB / 0.5794 GB, free: 38.24 MB / 462.3 MB Notification: Performance of SimCode: time 3.01e-07/0.5838, allocations: 0 / 0.5794 GB, free: 38.24 MB / 462.3 MB Notification: Performance of Templates: time 0.002571/0.5863, allocations: 0.5488 MB / 0.5799 GB, free: 37.96 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