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.001244/0.001244, allocations: 113.2 kB / 17.69 MB, free: 5.309 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.001225/0.001225, allocations: 187 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.237/1.237, allocations: 222.9 MB / 242.3 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8448/0.8448, allocations: 119.3 MB / 411.8 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 0.4924 GB, free: 13.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4335, allocations: 80.69 MB / 0.5712 GB, free: 43.49 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001404/0.435, allocations: 416.4 kB / 0.5716 GB, free: 43.2 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003581/0.4353, allocations: 218 kB / 0.5718 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.4354, allocations: 1.312 kB / 0.5718 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.014e-05/0.4354, allocations: 0 / 0.5718 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.4355, allocations: 5.312 kB / 0.5718 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.996e-05/0.4356, allocations: 26.03 kB / 0.5718 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.043e-05/0.4357, allocations: 9.875 kB / 0.5718 GB, free: 43.01 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.4357, allocations: 1.188 kB / 0.5718 GB, free: 43.01 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.793e-05/0.4357, allocations: 11.36 kB / 0.5718 GB, free: 43 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.4358, allocations: 9.547 kB / 0.5718 GB, free: 43 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.4358, allocations: 1.531 kB / 0.5718 GB, free: 43 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.4359, allocations: 22.92 kB / 0.5719 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.828e-06/0.4359, allocations: 1.344 kB / 0.5719 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.4359, allocations: 5.297 kB / 0.5719 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.733e-05/0.436, allocations: 24.62 kB / 0.5719 GB, free: 42.96 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.436, allocations: 1.156 kB / 0.5719 GB, free: 42.96 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.583e-06/0.436, allocations: 0 / 0.5719 GB, free: 42.96 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.436, allocations: 0 / 0.5719 GB, free: 42.96 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.0002536/0.4363, allocations: 331.1 kB / 0.5722 GB, free: 42.6 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.4363, allocations: 10.22 kB / 0.5722 GB, free: 42.6 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.4363, allocations: 8.828 kB / 0.5722 GB, free: 42.59 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.157e-05/0.4364, allocations: 169.5 kB / 0.5724 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.4364, allocations: 1.5 kB / 0.5724 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.4364, allocations: 1.438 kB / 0.5724 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.136e-05/0.4365, allocations: 38.59 kB / 0.5724 GB, free: 42.35 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.83e-06/0.4365, allocations: 1.688 kB / 0.5724 GB, free: 42.35 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.4365, allocations: 3.938 kB / 0.5724 GB, free: 42.34 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.4366, allocations: 7.938 kB / 0.5724 GB, free: 42.34 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.3e-05/0.4366, allocations: 5.438 kB / 0.5724 GB, free: 42.34 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.831e-05/0.4367, allocations: 156.3 kB / 0.5726 GB, free: 42.14 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.4369, allocations: 43.67 kB / 0.5726 GB, free: 42.11 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.4369, allocations: 12.66 kB / 0.5726 GB, free: 42.09 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.4369, allocations: 5.438 kB / 0.5726 GB, free: 42.09 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/0.4369, allocations: 34.56 kB / 0.5727 GB, free: 42.05 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4369, allocations: 1.312 kB / 0.5727 GB, free: 42.05 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001184/0.4371, allocations: 51.25 kB / 0.5727 GB, free: 42 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.4371, allocations: 51.41 kB / 0.5728 GB, free: 41.94 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.682e-05/0.4371, allocations: 96.86 kB / 0.5729 GB, free: 41.84 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.052e-06/0.4372, allocations: 25.7 kB / 0.5729 GB, free: 41.81 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.133e-05/0.4372, allocations: 93.16 kB / 0.573 GB, free: 41.71 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.4372, allocations: 9.219 kB / 0.573 GB, free: 41.71 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.4372, allocations: 21.16 kB / 0.573 GB, free: 41.68 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.403e-05/0.4373, allocations: 312.3 kB / 0.5733 GB, free: 41.37 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.4373, allocations: 7.078 kB / 0.5733 GB, free: 41.37 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.318e-05/0.4373, allocations: 8.25 kB / 0.5733 GB, free: 41.36 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.352e-05/0.4373, allocations: 17.61 kB / 0.5733 GB, free: 41.35 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4373, allocations: 0 / 0.5733 GB, free: 41.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.312e-05/0.4374, allocations: 48.34 kB / 0.5734 GB, free: 41.31 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.4374, allocations: 9.891 kB / 0.5734 GB, free: 41.31 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4374, allocations: 3.938 kB / 0.5734 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.4375, allocations: 7.938 kB / 0.5734 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.033e-05/0.4375, allocations: 6.094 kB / 0.5734 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.4375, allocations: 0 / 0.5734 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.4375, allocations: 1.375 kB / 0.5734 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.4375, allocations: 1.641 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.945e-05/0.4376, allocations: 114.9 kB / 0.5735 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.4376, allocations: 1.156 kB / 0.5735 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.4377, allocations: 81.92 kB / 0.5736 GB, free: 41.1 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4377, allocations: 5.328 kB / 0.5736 GB, free: 41.1 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4377, allocations: 0 / 0.5736 GB, free: 41.1 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.4377, allocations: 0 / 0.5736 GB, free: 41.1 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.046e-05/0.4378, allocations: 161 kB / 0.5738 GB, free: 40.9 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4378, allocations: 7.922 kB / 0.5738 GB, free: 40.89 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.4379, allocations: 8.188 kB / 0.5738 GB, free: 40.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.4379, allocations: 1.312 kB / 0.5738 GB, free: 40.89 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4379, allocations: 3.938 kB / 0.5738 GB, free: 40.89 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4379, allocations: 1.344 kB / 0.5738 GB, free: 40.89 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4379, allocations: 0 / 0.5738 GB, free: 40.89 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.438, allocations: 105.9 kB / 0.5739 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.489e-05/0.4381, allocations: 84.25 kB / 0.574 GB, free: 40.7 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.4381, allocations: 5.312 kB / 0.574 GB, free: 40.69 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.109e-05/0.4381, allocations: 4 kB / 0.574 GB, free: 40.69 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.4381, allocations: 2.75 kB / 0.574 GB, free: 40.69 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.4381, allocations: 5.359 kB / 0.574 GB, free: 40.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.14e-05/0.4382, allocations: 84.66 kB / 0.5741 GB, free: 40.6 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4382, allocations: 3.938 kB / 0.5741 GB, free: 40.6 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000184/0.4384, allocations: 8.25 kB / 0.5741 GB, free: 40.6 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.704e-05/0.4384, allocations: 100.3 kB / 0.5742 GB, free: 40.5 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 8.343e-05/0.4385, allocations: 23.11 kB / 0.5742 GB, free: 40.5 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4385, allocations: 0 / 0.5742 GB, free: 40.5 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.344e-05/0.4386, allocations: 22.92 kB / 0.5742 GB, free: 40.48 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.4387, allocations: 2.219 kB / 0.5742 GB, free: 40.48 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002258/0.4389, allocations: 130.5 kB / 0.5743 GB, free: 40.36 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.675e-05/0.439, allocations: 0.6795 MB / 0.575 GB, free: 39.66 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.571e-05/0.4391, allocations: 12.02 kB / 0.575 GB, free: 39.65 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.4391, allocations: 10.38 kB / 0.575 GB, free: 39.64 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.4391, allocations: 0 / 0.575 GB, free: 39.64 MB / 462.3 MB Notification: Performance of Templates: time 0.002201/0.4413, allocations: 0.5689 MB / 0.5756 GB, free: 39.34 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 gbode -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