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.001369/0.001369, allocations: 114.6 kB / 17.7 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.001439/0.001439, 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.55/1.55, 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 1.291/1.291, allocations: 119.3 MB / 411.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 59.89 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7323/0.7339, allocations: 80.68 MB / 0.5712 GB, free: 43.53 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001988/0.7359, allocations: 412.2 kB / 0.5715 GB, free: 43.24 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0005112/0.7365, allocations: 223.8 kB / 0.5718 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.7365, allocations: 0 / 0.5718 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.7366, allocations: 0 / 0.5718 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.7367, allocations: 5.312 kB / 0.5718 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.7369, allocations: 26.78 kB / 0.5718 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 5.708e-05/0.7369, allocations: 17.42 kB / 0.5718 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.265e-05/0.737, allocations: 1.375 kB / 0.5718 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.151e-05/0.737, allocations: 2.75 kB / 0.5718 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.7371, allocations: 10.19 kB / 0.5718 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.7371, allocations: 1.094 kB / 0.5718 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-05/0.7372, allocations: 26.98 kB / 0.5719 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.7372, allocations: 1.188 kB / 0.5719 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.7372, allocations: 5.031 kB / 0.5719 GB, free: 43.01 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.7374, allocations: 25.95 kB / 0.5719 GB, free: 43 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.7374, allocations: 4 kB / 0.5719 GB, free: 42.99 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.235e-06/0.7374, allocations: 0 / 0.5719 GB, free: 42.99 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.7374, allocations: 1.125 kB / 0.5719 GB, free: 42.99 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.0004847/0.7379, allocations: 323 kB / 0.5722 GB, free: 42.63 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.738, allocations: 9.125 kB / 0.5722 GB, free: 42.63 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.738, allocations: 9.75 kB / 0.5722 GB, free: 42.62 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.7381, allocations: 165.3 kB / 0.5724 GB, free: 42.43 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.7382, allocations: 1.75 kB / 0.5724 GB, free: 42.43 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.7382, allocations: 5.219 kB / 0.5724 GB, free: 42.42 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.7383, allocations: 34.66 kB / 0.5724 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.7383, allocations: 192 / 0.5724 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.7384, allocations: 12.92 kB / 0.5724 GB, free: 42.38 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.7384, allocations: 0 / 0.5724 GB, free: 42.38 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.134e-05/0.7384, allocations: 9.531 kB / 0.5724 GB, free: 42.37 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001881/0.7386, allocations: 156.7 kB / 0.5726 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.7389, allocations: 47.17 kB / 0.5726 GB, free: 42.14 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.7389, allocations: 12.77 kB / 0.5726 GB, free: 42.12 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.739, allocations: 1.219 kB / 0.5726 GB, free: 42.12 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.739, allocations: 35.8 kB / 0.5727 GB, free: 42.08 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.739, allocations: 0 / 0.5727 GB, free: 42.08 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001732/0.7392, allocations: 50.88 kB / 0.5727 GB, free: 42.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.7392, allocations: 56.78 kB / 0.5728 GB, free: 41.97 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/0.7393, allocations: 99.7 kB / 0.5729 GB, free: 41.87 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.7393, allocations: 26.7 kB / 0.5729 GB, free: 41.84 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.63e-05/0.7393, allocations: 84.08 kB / 0.573 GB, free: 41.75 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.7394, allocations: 13.33 kB / 0.573 GB, free: 41.74 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.7394, allocations: 17.81 kB / 0.573 GB, free: 41.72 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.844e-05/0.7395, allocations: 312.5 kB / 0.5733 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.7395, allocations: 11.09 kB / 0.5733 GB, free: 41.4 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.675e-05/0.7396, allocations: 8.422 kB / 0.5733 GB, free: 41.39 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.851e-05/0.7396, allocations: 17.17 kB / 0.5733 GB, free: 41.38 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7396, allocations: 0 / 0.5733 GB, free: 41.38 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.334e-05/0.7397, allocations: 57.08 kB / 0.5734 GB, free: 41.34 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.7397, allocations: 6.625 kB / 0.5734 GB, free: 41.34 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.7397, allocations: 5.469 kB / 0.5734 GB, free: 41.33 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.7398, allocations: 3.938 kB / 0.5734 GB, free: 41.33 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.7398, allocations: 9.516 kB / 0.5734 GB, free: 41.32 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.7398, allocations: 0 / 0.5734 GB, free: 41.32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.7399, allocations: 5.406 kB / 0.5734 GB, free: 41.32 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.7399, allocations: 1.344 kB / 0.5734 GB, free: 41.32 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 6.965e-05/0.74, allocations: 111.2 kB / 0.5735 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.74, allocations: 0.9688 kB / 0.5735 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.7402, allocations: 77.69 kB / 0.5736 GB, free: 41.13 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7402, allocations: 1.375 kB / 0.5736 GB, free: 41.13 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.7402, allocations: 0 / 0.5736 GB, free: 41.13 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7402, allocations: 4 kB / 0.5736 GB, free: 41.13 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.7403, allocations: 160.7 kB / 0.5738 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.7403, allocations: 5.312 kB / 0.5738 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.416e-05/0.7404, allocations: 12.14 kB / 0.5738 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7404, allocations: 0 / 0.5738 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.7404, allocations: 4.719 kB / 0.5738 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.7404, allocations: 1.156 kB / 0.5738 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7404, allocations: 0 / 0.5738 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.7406, allocations: 102.4 kB / 0.5739 GB, free: 40.83 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.7407, allocations: 92.3 kB / 0.574 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.7407, allocations: 3.938 kB / 0.574 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.971e-05/0.7407, allocations: 1.25 kB / 0.574 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.7407, allocations: 2.594 kB / 0.574 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.7407, allocations: 1.188 kB / 0.574 GB, free: 40.72 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.895e-05/0.7408, allocations: 84.56 kB / 0.5741 GB, free: 40.64 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7408, allocations: 5.062 kB / 0.5741 GB, free: 40.63 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002357/0.741, allocations: 10.39 kB / 0.5741 GB, free: 40.63 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.0001883/0.7412, allocations: 104.6 kB / 0.5742 GB, free: 40.53 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.7414, allocations: 27.67 kB / 0.5742 GB, free: 40.52 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7414, allocations: 0 / 0.5742 GB, free: 40.52 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 3.397e-05/0.7414, allocations: 14.53 kB / 0.5742 GB, free: 40.52 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.7416, allocations: 7.062 kB / 0.5742 GB, free: 40.51 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.7421, allocations: 125.6 kB / 0.5743 GB, free: 40.39 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.7424, allocations: 0.6791 MB / 0.575 GB, free: 39.69 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 3.602e-05/0.7424, allocations: 11.22 kB / 0.575 GB, free: 39.68 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.7424, allocations: 14.62 kB / 0.575 GB, free: 39.67 MB / 462.3 MB Notification: Performance of SimCode: time 2.5e-07/0.7425, allocations: 0 / 0.575 GB, free: 39.67 MB / 462.3 MB Notification: Performance of Templates: time 0.003203/0.7457, allocations: 0.5629 MB / 0.5756 GB, free: 39.38 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 cvode -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