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.001323/0.001322, allocations: 117.6 kB / 17.7 MB, free: 5.297 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.001205/0.001205, allocations: 188 kB / 18.63 MB, free: 4.371 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.273/1.273, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8558/0.8558, allocations: 119.3 MB / 411.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.89 kB / 0.4924 GB, free: 13.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4232, allocations: 80.69 MB / 0.5712 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001436/0.4247, allocations: 409.9 kB / 0.5716 GB, free: 43.17 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003872/0.4251, allocations: 223.1 kB / 0.5718 GB, free: 43.01 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.4251, allocations: 0 / 0.5718 GB, free: 43.01 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.4251, allocations: 3.938 kB / 0.5718 GB, free: 43 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.4253, allocations: 1.938 kB / 0.5718 GB, free: 43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.4254, allocations: 22.8 kB / 0.5718 GB, free: 42.99 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.529e-05/0.4254, allocations: 16.27 kB / 0.5718 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.4255, allocations: 5.344 kB / 0.5718 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.4255, allocations: 11.95 kB / 0.5718 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.496e-05/0.4255, allocations: 1.312 kB / 0.5718 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.4256, allocations: 1.562 kB / 0.5718 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-05/0.4256, allocations: 27.62 kB / 0.5719 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.4257, allocations: 0 / 0.5719 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.4257, allocations: 2.469 kB / 0.5719 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.945e-05/0.4258, allocations: 28.89 kB / 0.5719 GB, free: 42.93 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4258, allocations: 0 / 0.5719 GB, free: 42.93 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4258, allocations: 4 kB / 0.5719 GB, free: 42.93 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.4258, allocations: 1.188 kB / 0.5719 GB, free: 42.93 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.0002947/0.4261, allocations: 327 kB / 0.5722 GB, free: 42.56 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.4261, allocations: 8.875 kB / 0.5722 GB, free: 42.56 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.4262, allocations: 6.281 kB / 0.5722 GB, free: 42.56 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.356e-05/0.4262, allocations: 161.9 kB / 0.5724 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.4262, allocations: 384 / 0.5724 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.4263, allocations: 1.625 kB / 0.5724 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.705e-05/0.4264, allocations: 39.75 kB / 0.5724 GB, free: 42.32 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4264, allocations: 4.188 kB / 0.5724 GB, free: 42.32 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.4264, allocations: 7.875 kB / 0.5724 GB, free: 42.31 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.4264, allocations: 1.25 kB / 0.5724 GB, free: 42.31 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.525e-05/0.4264, allocations: 12.2 kB / 0.5724 GB, free: 42.3 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001052/0.4266, allocations: 157.5 kB / 0.5726 GB, free: 42.11 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.4268, allocations: 38.97 kB / 0.5726 GB, free: 42.08 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.4268, allocations: 16.92 kB / 0.5726 GB, free: 42.06 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.4268, allocations: 4 kB / 0.5726 GB, free: 42.06 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.133e-05/0.4268, allocations: 35.88 kB / 0.5727 GB, free: 42.02 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.4268, allocations: 0 / 0.5727 GB, free: 42.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001304/0.427, allocations: 55.45 kB / 0.5727 GB, free: 41.97 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.427, allocations: 52.78 kB / 0.5728 GB, free: 41.91 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.884e-05/0.427, allocations: 92.61 kB / 0.5729 GB, free: 41.81 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.427, allocations: 29.7 kB / 0.5729 GB, free: 41.77 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.134e-05/0.4271, allocations: 89.58 kB / 0.573 GB, free: 41.68 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.4271, allocations: 9.188 kB / 0.573 GB, free: 41.68 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.4271, allocations: 20.45 kB / 0.573 GB, free: 41.65 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.651e-05/0.4272, allocations: 312.2 kB / 0.5733 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.4272, allocations: 4.125 kB / 0.5733 GB, free: 41.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.546e-05/0.4272, allocations: 12.3 kB / 0.5733 GB, free: 41.33 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.4272, allocations: 25.12 kB / 0.5733 GB, free: 41.31 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4272, allocations: 0 / 0.5733 GB, free: 41.31 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.363e-05/0.4273, allocations: 47.44 kB / 0.5734 GB, free: 41.27 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.4273, allocations: 11.84 kB / 0.5734 GB, free: 41.27 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4273, allocations: 9.297 kB / 0.5734 GB, free: 41.26 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.4274, allocations: 0 / 0.5734 GB, free: 41.26 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.172e-05/0.4274, allocations: 9.484 kB / 0.5734 GB, free: 41.26 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.4274, allocations: 0 / 0.5734 GB, free: 41.26 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.4274, allocations: 5.375 kB / 0.5734 GB, free: 41.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.4274, allocations: 1.375 kB / 0.5734 GB, free: 41.25 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.929e-05/0.4275, allocations: 111.2 kB / 0.5735 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.4275, allocations: 5.312 kB / 0.5735 GB, free: 41.13 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.4276, allocations: 76.98 kB / 0.5736 GB, free: 41.06 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.4276, allocations: 1.125 kB / 0.5736 GB, free: 41.06 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4276, allocations: 1.125 kB / 0.5736 GB, free: 41.06 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.4277, allocations: 0 / 0.5736 GB, free: 41.06 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.186e-05/0.4277, allocations: 160.5 kB / 0.5738 GB, free: 40.86 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4277, allocations: 0 / 0.5738 GB, free: 40.86 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.4278, allocations: 13.14 kB / 0.5738 GB, free: 40.86 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4278, allocations: 0 / 0.5738 GB, free: 40.86 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.4278, allocations: 9.031 kB / 0.5738 GB, free: 40.85 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4278, allocations: 5.125 kB / 0.5738 GB, free: 40.85 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4278, allocations: 0 / 0.5738 GB, free: 40.85 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.4279, allocations: 101.7 kB / 0.5739 GB, free: 40.76 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.548e-05/0.428, allocations: 84.08 kB / 0.574 GB, free: 40.66 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.428, allocations: 9 kB / 0.574 GB, free: 40.65 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.013e-05/0.428, allocations: 1.375 kB / 0.574 GB, free: 40.65 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.428, allocations: 1.531 kB / 0.574 GB, free: 40.65 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.428, allocations: 5.344 kB / 0.574 GB, free: 40.65 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.553e-05/0.4281, allocations: 82.19 kB / 0.5741 GB, free: 40.57 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4281, allocations: 3.938 kB / 0.5741 GB, free: 40.57 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001842/0.4283, allocations: 10.5 kB / 0.5741 GB, free: 40.56 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 8.785e-05/0.4283, allocations: 101 kB / 0.5742 GB, free: 40.47 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 8.185e-05/0.4284, allocations: 26.08 kB / 0.5742 GB, free: 40.46 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4284, allocations: 0 / 0.5742 GB, free: 40.46 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.413e-05/0.4285, allocations: 15.94 kB / 0.5742 GB, free: 40.45 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.4286, allocations: 7.344 kB / 0.5742 GB, free: 40.45 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002214/0.4288, allocations: 131.3 kB / 0.5743 GB, free: 40.32 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.814e-05/0.4289, allocations: 0.6793 MB / 0.575 GB, free: 39.62 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.394e-05/0.429, allocations: 6.656 kB / 0.575 GB, free: 39.62 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.636e-05/0.429, allocations: 15.41 kB / 0.575 GB, free: 39.61 MB / 462.3 MB Notification: Performance of SimCode: time 1.91e-07/0.429, allocations: 0 / 0.575 GB, free: 39.61 MB / 462.3 MB Notification: Performance of Templates: time 0.002326/0.4313, allocations: 0.5623 MB / 0.5756 GB, free: 39.32 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches