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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 165.8 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9046/0.9046, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.5958/0.5958, allocations: 88.07 MB / 349.9 MB, free: 14.09 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.|p|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.|p|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.187e-06/1.072e-05, allocations: 5.484 kB / 452 MB, free: 33.09 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0007928/0.0008035, allocations: 410.7 kB / 452.4 MB, free: 32.86 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003154/0.001119, allocations: 230.5 kB / 452.6 MB, free: 32.72 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.001147, allocations: 0 / 452.6 MB, free: 32.72 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.00116, allocations: 0 / 452.6 MB, free: 32.72 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.001278, allocations: 7.938 kB / 452.6 MB, free: 32.71 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.27e-05/0.00136, allocations: 31.17 kB / 452.7 MB, free: 32.7 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 3.808e-05/0.001398, allocations: 13.06 kB / 452.7 MB, free: 32.7 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.989e-05/0.001428, allocations: 6.094 kB / 452.7 MB, free: 32.7 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.001464, allocations: 6.875 kB / 452.7 MB, free: 32.69 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.761e-05/0.001502, allocations: 10.19 kB / 452.7 MB, free: 32.69 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.001513, allocations: 0 / 452.7 MB, free: 32.69 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.248e-05/0.001576, allocations: 24.28 kB / 452.7 MB, free: 32.68 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.001584, allocations: 0 / 452.7 MB, free: 32.68 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.069e-05/0.001595, allocations: 2.75 kB / 452.7 MB, free: 32.68 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 7.513e-05/0.00167, allocations: 47.22 kB / 452.8 MB, free: 32.66 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.001672, allocations: 0 / 452.8 MB, free: 32.66 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.81e-07/0.001672, allocations: 0 / 452.8 MB, free: 32.66 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.001676, allocations: 0 / 452.8 MB, free: 32.66 MB / 410.8 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.0002227/0.001899, allocations: 354.3 kB / 453.1 MB, free: 32.29 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.001933, allocations: 8.156 kB / 453.1 MB, free: 32.29 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.001959, allocations: 6.922 kB / 453.1 MB, free: 32.29 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.025e-05/0.002009, allocations: 111.3 kB / 453.2 MB, free: 32.16 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-06/0.002017, allocations: 384 / 453.2 MB, free: 32.16 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.002029, allocations: 384 / 453.2 MB, free: 32.16 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.877e-05/0.002078, allocations: 46.19 kB / 453.3 MB, free: 32.12 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.589e-06/0.002083, allocations: 192 / 453.3 MB, free: 32.12 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-06/0.002087, allocations: 384 / 453.3 MB, free: 32.12 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.002093, allocations: 384 / 453.3 MB, free: 32.12 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.768e-05/0.00211, allocations: 12.97 kB / 453.3 MB, free: 32.11 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.555e-05/0.002186, allocations: 103.4 kB / 453.4 MB, free: 31.99 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.002314, allocations: 46.55 kB / 453.4 MB, free: 31.95 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.239e-05/0.002327, allocations: 13.7 kB / 453.5 MB, free: 31.94 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.002341, allocations: 0 / 453.5 MB, free: 31.94 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.22e-05/0.002353, allocations: 36.33 kB / 453.5 MB, free: 31.89 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 5.52e-07/0.002354, allocations: 4 kB / 453.5 MB, free: 31.89 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 8.452e-05/0.002438, allocations: 48.58 kB / 453.5 MB, free: 31.85 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.398e-05/0.002452, allocations: 57.38 kB / 453.6 MB, free: 31.79 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.666e-05/0.002479, allocations: 149.9 kB / 453.8 MB, free: 31.62 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.729e-06/0.002484, allocations: 28.55 kB / 453.8 MB, free: 31.59 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.118e-05/0.002495, allocations: 126.9 kB / 453.9 MB, free: 31.46 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.002515, allocations: 9.828 kB / 453.9 MB, free: 31.46 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.002534, allocations: 28.53 kB / 453.9 MB, free: 31.43 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.444e-05/0.002569, allocations: 496.1 kB / 454.4 MB, free: 30.93 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-06/0.002576, allocations: 2.906 kB / 454.4 MB, free: 30.93 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-06/0.002584, allocations: 14.34 kB / 454.4 MB, free: 30.93 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.12e-05/0.002605, allocations: 20.31 kB / 454.5 MB, free: 30.91 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.002607, allocations: 0 / 454.5 MB, free: 30.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.662e-05/0.002643, allocations: 51.94 kB / 454.5 MB, free: 30.87 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/0.002653, allocations: 5.75 kB / 454.5 MB, free: 30.87 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.002661, allocations: 0 / 454.5 MB, free: 30.87 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.00267, allocations: 0 / 454.5 MB, free: 30.87 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.57e-05/0.002695, allocations: 9.781 kB / 454.5 MB, free: 30.87 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.002699, allocations: 3.984 kB / 454.5 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.007e-06/0.002708, allocations: 2.875 kB / 454.5 MB, free: 30.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.002711, allocations: 3.938 kB / 454.5 MB, free: 30.86 MB / 410.8 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.197e-05/0.002743, allocations: 170.8 kB / 454.7 MB, free: 30.69 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-06/0.002747, allocations: 0 / 454.7 MB, free: 30.69 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.552e-05/0.002823, allocations: 72.39 kB / 454.8 MB, free: 30.64 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.002824, allocations: 0 / 454.8 MB, free: 30.64 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.002825, allocations: 0 / 454.8 MB, free: 30.64 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.002828, allocations: 0 / 454.8 MB, free: 30.64 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.186e-05/0.00287, allocations: 106.2 kB / 454.9 MB, free: 30.52 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.00287, allocations: 0 / 454.9 MB, free: 30.52 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.002899, allocations: 12.84 kB / 454.9 MB, free: 30.51 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.002899, allocations: 4 kB / 454.9 MB, free: 30.51 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.002906, allocations: 2.875 kB / 454.9 MB, free: 30.51 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.002906, allocations: 0 / 454.9 MB, free: 30.51 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.002907, allocations: 0 / 454.9 MB, free: 30.51 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.032e-05/0.002977, allocations: 108.7 kB / 455 MB, free: 30.41 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-06/0.002982, allocations: 2.688 kB / 455 MB, free: 30.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-06/0.00299, allocations: 3.328 kB / 455 MB, free: 30.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-06/0.002998, allocations: 128 / 455 MB, free: 30.41 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-06/0.003008, allocations: 7.203 kB / 455 MB, free: 30.41 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.003009, allocations: 0 / 455 MB, free: 30.41 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.143e-05/0.003021, allocations: 129.3 kB / 455.1 MB, free: 30.29 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003021, allocations: 0 / 455.1 MB, free: 30.29 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001132/0.003134, allocations: 13 kB / 455.2 MB, free: 30.28 MB / 410.8 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 7.064e-05/0.003204, allocations: 100.2 kB / 455.3 MB, free: 30.19 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 4.786e-05/0.003252, allocations: 30.83 kB / 455.3 MB, free: 30.17 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.003253, allocations: 2.688 kB / 455.3 MB, free: 30.17 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.003266, allocations: 23.03 kB / 455.3 MB, free: 30.16 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.929e-05/0.003356, allocations: 6.562 kB / 455.3 MB, free: 30.15 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001552/0.003511, allocations: 128.3 kB / 455.4 MB, free: 30.03 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.601e-05/0.003527, allocations: 64.52 kB / 455.5 MB, free: 29.96 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.707e-05/0.003544, allocations: 6.844 kB / 455.5 MB, free: 29.95 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.003567, allocations: 69.14 kB / 455.6 MB, free: 29.89 MB / 410.8 MB Notification: Performance of SimCode: time 3.41e-07/0.003567, allocations: 2.75 kB / 455.6 MB, free: 29.89 MB / 410.8 MB Notification: Performance of Templates: time 0.0019/0.005467, allocations: 0.7008 MB / 456.3 MB, free: 29.8 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.458779528737068]