Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.001035/0.001035, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00137/0.00137, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.025/1.025, allocations: 177.1 MB / 205 MB, free: 5.633 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.6675/0.6675, allocations: 88.08 MB / 349.6 MB, free: 14.27 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.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 451.5 MB, free: 33.3 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/3.086e-05, allocations: 7.406 kB / 451.5 MB, free: 33.3 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.00112/0.001151, allocations: 402.7 kB / 451.9 MB, free: 33.07 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002401/0.001391, allocations: 31.19 kB / 452 MB, free: 33.06 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.001425, allocations: 0 / 452 MB, free: 33.06 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.001449, allocations: 4 kB / 452 MB, free: 33.05 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 7.58e-05/0.001525, allocations: 3.938 kB / 452 MB, free: 33.05 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.001738, allocations: 6.844 kB / 452 MB, free: 33.05 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.464e-05/0.001803, allocations: 10.17 kB / 452 MB, free: 33.04 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.001857, allocations: 0 / 452 MB, free: 33.04 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.078e-05/0.001898, allocations: 2.938 kB / 452 MB, free: 33.04 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.001958, allocations: 0 / 452 MB, free: 33.04 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.001977, allocations: 0 / 452 MB, free: 33.04 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.409e-05/0.002051, allocations: 13.2 kB / 452 MB, free: 33.04 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.002067, allocations: 0 / 452 MB, free: 33.04 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.002088, allocations: 6.344 kB / 452 MB, free: 33.04 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.0022, allocations: 18.2 kB / 452 MB, free: 33.03 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.002203, allocations: 0 / 452 MB, free: 33.03 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.002205, allocations: 0 / 452 MB, free: 33.03 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.00221, allocations: 3.938 kB / 452 MB, free: 33.02 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002467/0.002457, allocations: 337.5 kB / 452.4 MB, free: 32.66 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.002504, allocations: 8.719 kB / 452.4 MB, free: 32.66 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.002545, allocations: 3.812 kB / 452.4 MB, free: 32.66 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.867e-05/0.002593, allocations: 108.6 kB / 452.5 MB, free: 32.53 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.002607, allocations: 7.25 kB / 452.5 MB, free: 32.53 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.002617, allocations: 384 / 452.5 MB, free: 32.53 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.002721, allocations: 40 kB / 452.5 MB, free: 32.49 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.002729, allocations: 192 / 452.5 MB, free: 32.49 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.00274, allocations: 384 / 452.5 MB, free: 32.49 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.002748, allocations: 384 / 452.5 MB, free: 32.49 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.026e-05/0.002778, allocations: 7.031 kB / 452.5 MB, free: 32.48 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.002882, allocations: 112.4 kB / 452.6 MB, free: 32.34 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.059e-05/0.002933, allocations: 31.53 kB / 452.7 MB, free: 32.31 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.002958, allocations: 10.47 kB / 452.7 MB, free: 32.3 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.003167, allocations: 12.8 kB / 452.7 MB, free: 32.29 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.003182, allocations: 40.23 kB / 452.7 MB, free: 32.25 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.003183, allocations: 0 / 452.7 MB, free: 32.25 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001124/0.003296, allocations: 38.14 kB / 452.8 MB, free: 32.21 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.003316, allocations: 54.55 kB / 452.8 MB, free: 32.15 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.722e-05/0.003333, allocations: 142.2 kB / 453 MB, free: 32 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-06/0.003338, allocations: 25.7 kB / 453 MB, free: 31.96 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.13e-05/0.003349, allocations: 126.9 kB / 453.1 MB, free: 31.84 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.003375, allocations: 6.047 kB / 453.1 MB, free: 31.84 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.003398, allocations: 22.22 kB / 453.1 MB, free: 31.81 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.003444, allocations: 496.1 kB / 453.6 MB, free: 31.31 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.003454, allocations: 6.938 kB / 453.6 MB, free: 31.31 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-06/0.003461, allocations: 7.266 kB / 453.6 MB, free: 31.3 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.003489, allocations: 17.41 kB / 453.7 MB, free: 31.29 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.003491, allocations: 0 / 453.7 MB, free: 31.29 MB / 410.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.881e-05/0.00353, allocations: 38.36 kB / 453.7 MB, free: 31.25 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.003541, allocations: 5.625 kB / 453.7 MB, free: 31.25 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.003545, allocations: 0 / 453.7 MB, free: 31.25 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.003558, allocations: 0 / 453.7 MB, free: 31.25 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.93e-05/0.003607, allocations: 6.297 kB / 453.7 MB, free: 31.25 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.003612, allocations: 8.031 kB / 453.7 MB, free: 31.25 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.758e-06/0.003622, allocations: 8.234 kB / 453.7 MB, free: 31.24 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.003626, allocations: 0 / 453.7 MB, free: 31.24 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 (2): * Single equations (assignments): 2 * 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.395e-05/0.00366, allocations: 160.5 kB / 453.9 MB, free: 31.07 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-06/0.003663, allocations: 2.875 kB / 453.9 MB, free: 31.07 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.979e-05/0.003733, allocations: 37.91 kB / 453.9 MB, free: 31.04 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.003735, allocations: 2.875 kB / 453.9 MB, free: 31.04 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.003738, allocations: 0 / 453.9 MB, free: 31.04 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.003741, allocations: 0 / 453.9 MB, free: 31.04 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.846e-05/0.003779, allocations: 122.6 kB / 454 MB, free: 30.89 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.00378, allocations: 0 / 454 MB, free: 30.89 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-06/0.003788, allocations: 2.625 kB / 454 MB, free: 30.89 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.00379, allocations: 0 / 454 MB, free: 30.89 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.003795, allocations: 0 / 454 MB, free: 30.89 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.003796, allocations: 0 / 454 MB, free: 30.89 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.003796, allocations: 2.531 kB / 454.1 MB, free: 30.89 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.165e-05/0.003838, allocations: 81.48 kB / 454.1 MB, free: 30.8 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-06/0.003841, allocations: 1.094 kB / 454.1 MB, free: 30.8 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.00385, allocations: 0 / 454.1 MB, free: 30.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.639e-06/0.003855, allocations: 2.625 kB / 454.1 MB, free: 30.8 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.003867, allocations: 4.031 kB / 454.1 MB, free: 30.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.003869, allocations: 3.234 kB / 454.1 MB, free: 30.8 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.157e-05/0.003881, allocations: 119.2 kB / 454.3 MB, free: 30.68 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.003881, allocations: 2.531 kB / 454.3 MB, free: 30.68 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000119/0.004, allocations: 2.688 kB / 454.3 MB, free: 30.68 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.247e-05/0.004082, allocations: 101.5 kB / 454.4 MB, free: 30.59 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.119e-05/0.004144, allocations: 21.25 kB / 454.4 MB, free: 30.57 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.004145, allocations: 0 / 454.4 MB, free: 30.57 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.816e-06/0.004154, allocations: 17.16 kB / 454.4 MB, free: 30.55 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.093e-05/0.004245, allocations: 3.031 kB / 454.4 MB, free: 30.55 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001717/0.004416, allocations: 89.17 kB / 454.5 MB, free: 30.45 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.963e-05/0.004436, allocations: 57.41 kB / 454.5 MB, free: 30.38 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.651e-05/0.004453, allocations: 0 / 454.5 MB, free: 30.38 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.004469, allocations: 8.5 kB / 454.6 MB, free: 30.38 MB / 410.8 MB Notification: Performance of SimCode: time 3.91e-07/0.004469, allocations: 2.844 kB / 454.6 MB, free: 30.38 MB / 410.8 MB Notification: Performance of Templates: time 0.001758/0.006227, allocations: 318.3 kB / 454.9 MB, free: 30.3 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_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: 4.0691836648620665]