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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 114.9 kB / 17.69 MB, free: 5.312 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.001604/0.001604, allocations: 191 kB / 18.63 MB, free: 4.379 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.449/1.449, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.281/1.281, allocations: 119.3 MB / 411.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 0.4924 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6089/0.6102, allocations: 80.68 MB / 0.5712 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001792/0.612, allocations: 413.6 kB / 0.5715 GB, free: 43.22 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0004192/0.6125, allocations: 230.5 kB / 0.5718 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.6125, allocations: 0 / 0.5718 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.6125, allocations: 1.344 kB / 0.5718 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.6127, allocations: 5.344 kB / 0.5718 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.6128, allocations: 30.83 kB / 0.5718 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.654e-05/0.6129, allocations: 8.219 kB / 0.5718 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.6129, allocations: 1.125 kB / 0.5718 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.968e-05/0.613, allocations: 4.375 kB / 0.5718 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.765e-05/0.613, allocations: 13.69 kB / 0.5718 GB, free: 43 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.613, allocations: 4 kB / 0.5718 GB, free: 43 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.061e-05/0.6131, allocations: 20.52 kB / 0.5719 GB, free: 42.99 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.6131, allocations: 0 / 0.5719 GB, free: 42.99 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.6132, allocations: 6.312 kB / 0.5719 GB, free: 42.99 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.273e-05/0.6132, allocations: 25.2 kB / 0.5719 GB, free: 42.97 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.6132, allocations: 0 / 0.5719 GB, free: 42.97 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6133, allocations: 0 / 0.5719 GB, free: 42.97 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.6133, allocations: 1.281 kB / 0.5719 GB, free: 42.97 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.000283/0.6135, allocations: 326 kB / 0.5722 GB, free: 42.61 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.6136, allocations: 14 kB / 0.5722 GB, free: 42.61 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.6136, allocations: 10.16 kB / 0.5722 GB, free: 42.6 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.086e-05/0.6137, allocations: 160.4 kB / 0.5724 GB, free: 42.4 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.6137, allocations: 1.75 kB / 0.5724 GB, free: 42.4 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.6137, allocations: 9.641 kB / 0.5724 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.419e-05/0.6138, allocations: 34.88 kB / 0.5724 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.6138, allocations: 192 / 0.5724 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.6139, allocations: 3.938 kB / 0.5724 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.6139, allocations: 1.469 kB / 0.5724 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.412e-05/0.6139, allocations: 4.094 kB / 0.5724 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.614, allocations: 161.4 kB / 0.5726 GB, free: 42.16 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.6142, allocations: 43.48 kB / 0.5726 GB, free: 42.12 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.6142, allocations: 16.45 kB / 0.5726 GB, free: 42.11 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.6143, allocations: 1.375 kB / 0.5726 GB, free: 42.11 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.6143, allocations: 34.64 kB / 0.5727 GB, free: 42.06 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.6143, allocations: 1.094 kB / 0.5727 GB, free: 42.06 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001418/0.6144, allocations: 59.38 kB / 0.5727 GB, free: 42.01 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.6145, allocations: 51.41 kB / 0.5728 GB, free: 41.95 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.044e-05/0.6145, allocations: 96.83 kB / 0.5729 GB, free: 41.85 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.6145, allocations: 25.7 kB / 0.5729 GB, free: 41.82 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.212e-05/0.6145, allocations: 81.58 kB / 0.573 GB, free: 41.73 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.6145, allocations: 13.02 kB / 0.573 GB, free: 41.72 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.6146, allocations: 22 kB / 0.573 GB, free: 41.7 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.064e-05/0.6146, allocations: 311 kB / 0.5733 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.6146, allocations: 15.48 kB / 0.5733 GB, free: 41.38 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.325e-05/0.6147, allocations: 4.156 kB / 0.5733 GB, free: 41.38 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.731e-05/0.6147, allocations: 17.45 kB / 0.5733 GB, free: 41.36 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6147, allocations: 0 / 0.5733 GB, free: 41.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.305e-05/0.6148, allocations: 55.94 kB / 0.5734 GB, free: 41.32 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.6148, allocations: 7.781 kB / 0.5734 GB, free: 41.32 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.6148, allocations: 5.312 kB / 0.5734 GB, free: 41.31 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.6148, allocations: 0 / 0.5734 GB, free: 41.31 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.994e-05/0.6149, allocations: 14.25 kB / 0.5734 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.6149, allocations: 4 kB / 0.5734 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.6149, allocations: 1.562 kB / 0.5734 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.6149, allocations: 1.188 kB / 0.5734 GB, free: 41.3 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 3.914e-05/0.615, allocations: 111.7 kB / 0.5735 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/0.615, allocations: 0 / 0.5735 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.6151, allocations: 81.81 kB / 0.5736 GB, free: 41.11 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6151, allocations: 1.156 kB / 0.5736 GB, free: 41.11 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6151, allocations: 0 / 0.5736 GB, free: 41.11 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6151, allocations: 4 kB / 0.5736 GB, free: 41.11 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.574e-05/0.6152, allocations: 161.3 kB / 0.5738 GB, free: 40.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.6152, allocations: 0 / 0.5738 GB, free: 40.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.6153, allocations: 12.95 kB / 0.5738 GB, free: 40.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6153, allocations: 0 / 0.5738 GB, free: 40.9 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.6153, allocations: 5.375 kB / 0.5738 GB, free: 40.9 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.6153, allocations: 0 / 0.5738 GB, free: 40.9 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6153, allocations: 5.312 kB / 0.5738 GB, free: 40.89 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.6155, allocations: 104.9 kB / 0.5739 GB, free: 40.8 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.6155, allocations: 84.88 kB / 0.574 GB, free: 40.7 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.6155, allocations: 5.938 kB / 0.574 GB, free: 40.7 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.84e-05/0.6155, allocations: 0 / 0.574 GB, free: 40.7 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.6156, allocations: 1.562 kB / 0.574 GB, free: 40.7 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.6156, allocations: 1.312 kB / 0.574 GB, free: 40.7 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.401e-05/0.6156, allocations: 81.91 kB / 0.5741 GB, free: 40.62 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6156, allocations: 0 / 0.5741 GB, free: 40.62 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001801/0.6158, allocations: 10.2 kB / 0.5741 GB, free: 40.62 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 9.879e-05/0.6159, allocations: 105 kB / 0.5742 GB, free: 40.52 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 9.544e-05/0.616, allocations: 22.98 kB / 0.5742 GB, free: 40.51 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.616, allocations: 0 / 0.5742 GB, free: 40.51 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.528e-05/0.616, allocations: 19.12 kB / 0.5742 GB, free: 40.5 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.6162, allocations: 7.562 kB / 0.5742 GB, free: 40.5 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/0.6164, allocations: 129.6 kB / 0.5743 GB, free: 40.37 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.6165, allocations: 0.6794 MB / 0.575 GB, free: 39.67 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.52e-05/0.6166, allocations: 11.66 kB / 0.575 GB, free: 39.66 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.6166, allocations: 9.656 kB / 0.575 GB, free: 39.66 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.6166, allocations: 1.312 kB / 0.575 GB, free: 39.66 MB / 462.3 MB Notification: Performance of Templates: time 0.002638/0.6192, allocations: 0.5735 MB / 0.5756 GB, free: 39.35 MB / 462.3 MB 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches