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.001257/0.001258, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.001254/0.001255, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.306/1.306, allocations: 222.9 MB / 241.8 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9004/0.9004, allocations: 119.3 MB / 411.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001183, allocations: 63.91 kB / 0.4909 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4665, allocations: 80.68 MB / 0.5697 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001504/0.4681, allocations: 490.2 kB / 0.5702 GB, free: 43.16 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0004572/0.4686, allocations: 221.2 kB / 0.5704 GB, free: 43 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.688e-05/0.4686, allocations: 1.375 kB / 0.5704 GB, free: 43 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.718e-05/0.4686, allocations: 0 / 0.5704 GB, free: 43 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.4688, allocations: 1.375 kB / 0.5704 GB, free: 43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.84e-05/0.4688, allocations: 21.48 kB / 0.5704 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.234e-05/0.4689, allocations: 13.38 kB / 0.5704 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.4689, allocations: 9.359 kB / 0.5704 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.469, allocations: 2.75 kB / 0.5704 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.261e-05/0.469, allocations: 6.734 kB / 0.5704 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.469, allocations: 0 / 0.5704 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.39e-05/0.4691, allocations: 22.97 kB / 0.5704 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.4691, allocations: 5.312 kB / 0.5704 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.4692, allocations: 1.375 kB / 0.5704 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.581e-05/0.4692, allocations: 18.84 kB / 0.5705 GB, free: 42.93 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4692, allocations: 0.9688 kB / 0.5705 GB, free: 42.93 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.031e-06/0.4693, allocations: 4 kB / 0.5705 GB, free: 42.93 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.4693, allocations: 0 / 0.5705 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.0002935/0.4696, allocations: 327.5 kB / 0.5708 GB, free: 42.57 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4696, allocations: 8.594 kB / 0.5708 GB, free: 42.57 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.4696, allocations: 5.938 kB / 0.5708 GB, free: 42.56 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.475e-05/0.4697, allocations: 167.4 kB / 0.571 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.4697, allocations: 5.344 kB / 0.571 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.4698, allocations: 5.578 kB / 0.571 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.022e-05/0.4699, allocations: 42.61 kB / 0.571 GB, free: 42.31 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.4699, allocations: 1.219 kB / 0.571 GB, free: 42.31 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4699, allocations: 7.938 kB / 0.571 GB, free: 42.3 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4699, allocations: 0 / 0.571 GB, free: 42.3 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.002e-05/0.4699, allocations: 5.531 kB / 0.571 GB, free: 42.3 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.4701, allocations: 153.1 kB / 0.5712 GB, free: 42.11 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.4703, allocations: 44.08 kB / 0.5712 GB, free: 42.07 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.4703, allocations: 8.016 kB / 0.5712 GB, free: 42.07 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.4703, allocations: 5.062 kB / 0.5712 GB, free: 42.06 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.4703, allocations: 39.86 kB / 0.5713 GB, free: 42.02 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4704, allocations: 0 / 0.5713 GB, free: 42.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001483/0.4705, allocations: 51.31 kB / 0.5713 GB, free: 41.97 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.4705, allocations: 55.34 kB / 0.5714 GB, free: 41.91 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.26e-05/0.4706, allocations: 93.67 kB / 0.5715 GB, free: 41.81 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.4706, allocations: 29.64 kB / 0.5715 GB, free: 41.77 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.508e-05/0.4706, allocations: 84.27 kB / 0.5716 GB, free: 41.69 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.4707, allocations: 18.36 kB / 0.5716 GB, free: 41.67 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.4707, allocations: 13.38 kB / 0.5716 GB, free: 41.66 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.965e-05/0.4707, allocations: 314.8 kB / 0.5719 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.4708, allocations: 7.953 kB / 0.5719 GB, free: 41.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.433e-05/0.4708, allocations: 3.625 kB / 0.5719 GB, free: 41.34 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.97e-05/0.4708, allocations: 21.83 kB / 0.5719 GB, free: 41.32 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4708, allocations: 0 / 0.5719 GB, free: 41.32 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.079e-05/0.4709, allocations: 51.97 kB / 0.572 GB, free: 41.28 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4709, allocations: 5.562 kB / 0.572 GB, free: 41.28 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4709, allocations: 3.938 kB / 0.572 GB, free: 41.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.471, allocations: 1.156 kB / 0.572 GB, free: 41.27 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.365e-05/0.471, allocations: 13.52 kB / 0.572 GB, free: 41.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.471, allocations: 0 / 0.572 GB, free: 41.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.471, allocations: 5.156 kB / 0.572 GB, free: 41.26 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.4711, allocations: 1.031 kB / 0.572 GB, free: 41.26 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.494e-05/0.4711, allocations: 111 kB / 0.5721 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.4711, allocations: 5.219 kB / 0.5721 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.4713, allocations: 78.08 kB / 0.5722 GB, free: 41.07 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.4713, allocations: 1.125 kB / 0.5722 GB, free: 41.07 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.4713, allocations: 0 / 0.5722 GB, free: 41.07 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4713, allocations: 0 / 0.5722 GB, free: 41.07 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.506e-05/0.4714, allocations: 157.4 kB / 0.5723 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4714, allocations: 0 / 0.5723 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.4714, allocations: 17.38 kB / 0.5724 GB, free: 40.87 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4714, allocations: 4 kB / 0.5724 GB, free: 40.86 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.4715, allocations: 9 kB / 0.5724 GB, free: 40.86 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.4715, allocations: 0 / 0.5724 GB, free: 40.86 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.4715, allocations: 1.188 kB / 0.5724 GB, free: 40.86 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.4716, allocations: 108.6 kB / 0.5725 GB, free: 40.76 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.4716, allocations: 78.39 kB / 0.5725 GB, free: 40.67 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.4717, allocations: 3.938 kB / 0.5725 GB, free: 40.66 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.4717, allocations: 1.375 kB / 0.5726 GB, free: 40.66 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.4717, allocations: 5.25 kB / 0.5726 GB, free: 40.66 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.4717, allocations: 6.562 kB / 0.5726 GB, free: 40.66 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.966e-05/0.4717, allocations: 80.55 kB / 0.5726 GB, free: 40.58 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.172e-06/0.4717, allocations: 0 / 0.5726 GB, free: 40.58 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001951/0.4719, allocations: 11.56 kB / 0.5726 GB, free: 40.57 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.0001066/0.472, allocations: 108 kB / 0.5728 GB, free: 40.47 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 9.501e-05/0.4722, allocations: 27.23 kB / 0.5728 GB, free: 40.46 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4722, allocations: 0 / 0.5728 GB, free: 40.46 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.568e-05/0.4722, allocations: 23.56 kB / 0.5728 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.0001407/0.4723, allocations: 2.234 kB / 0.5728 GB, free: 40.45 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.4726, allocations: 164.5 kB / 0.573 GB, free: 40.28 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.4727, allocations: 0.6806 MB / 0.5736 GB, free: 39.58 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.4727, allocations: 10 kB / 0.5736 GB, free: 39.57 MB / 462.3 MB Notification: Performance of SimCode: time 3e-07/0.4728, allocations: 0 / 0.5736 GB, free: 39.57 MB / 462.3 MB Notification: Performance of Templates: time 0.001914/0.4747, allocations: 0.6709 MB / 0.5743 GB, free: 39.24 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 -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