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.001469/0.001469, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001344/0.001344, allocations: 164.8 kB / 25.61 MB, free: 8.902 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.8621/0.8621, allocations: 177.1 MB / 206 MB, free: 4.5 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.7037/0.7037, allocations: 88.1 MB / 350.7 MB, free: 11.84 MB / 330.8 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 2.285e-06/2.285e-06, allocations: 0 / 452.8 MB, free: 8.082 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.917e-05, allocations: 4.844 kB / 452.8 MB, free: 8.078 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001009/0.001028, allocations: 403 kB / 453.2 MB, free: 7.688 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001518/0.00118, allocations: 27.89 kB / 453.2 MB, free: 7.66 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.001203, allocations: 0 / 453.2 MB, free: 7.66 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.001217, allocations: 0 / 453.2 MB, free: 7.66 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 5.68e-05/0.001274, allocations: 3.938 kB / 453.2 MB, free: 7.656 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.001402, allocations: 8 kB / 453.2 MB, free: 7.648 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 3.885e-05/0.00144, allocations: 7.984 kB / 453.3 MB, free: 7.641 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.001477, allocations: 3.984 kB / 453.3 MB, free: 7.637 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.694e-05/0.001504, allocations: 0 / 453.3 MB, free: 7.637 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.386e-05/0.001548, allocations: 11.94 kB / 453.3 MB, free: 7.625 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.001559, allocations: 0 / 453.3 MB, free: 7.625 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.912e-05/0.001608, allocations: 4 kB / 453.3 MB, free: 7.621 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.001621, allocations: 7.984 kB / 453.3 MB, free: 7.613 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 1.057e-05/0.001631, allocations: 4 kB / 453.3 MB, free: 7.609 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 6.165e-05/0.001693, allocations: 8 kB / 453.3 MB, free: 7.602 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.001695, allocations: 0 / 453.3 MB, free: 7.602 MB / 426.8 MB Notification: Performance of FrontEnd: time 3.11e-07/0.001695, allocations: 0 / 453.3 MB, free: 7.602 MB / 426.8 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.001698, allocations: 0 / 453.3 MB, free: 7.602 MB / 426.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.0001948/0.001893, allocations: 344.3 kB / 453.6 MB, free: 7.227 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.001922, allocations: 8.031 kB / 453.6 MB, free: 7.219 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.001944, allocations: 8.938 kB / 453.6 MB, free: 7.211 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.015e-05/0.001994, allocations: 108.6 kB / 453.8 MB, free: 7.078 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.002003, allocations: 4.312 kB / 453.8 MB, free: 7.074 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-06/0.002008, allocations: 384 / 453.8 MB, free: 7.074 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.363e-05/0.002061, allocations: 34.25 kB / 453.8 MB, free: 7.035 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.002067, allocations: 192 / 453.8 MB, free: 7.035 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.002073, allocations: 4.359 kB / 453.8 MB, free: 7.031 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.002076, allocations: 384 / 453.8 MB, free: 7.031 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.621e-05/0.002092, allocations: 7.938 kB / 453.8 MB, free: 7.023 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.539e-05/0.002168, allocations: 93.27 kB / 453.9 MB, free: 6.906 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.131e-05/0.002209, allocations: 43.02 kB / 453.9 MB, free: 6.852 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.228e-05/0.002221, allocations: 7.688 kB / 453.9 MB, free: 6.84 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.002347, allocations: 8.062 kB / 454 MB, free: 6.832 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.002364, allocations: 37.33 kB / 454 MB, free: 6.785 MB / 426.8 MB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.002364, allocations: 0 / 454 MB, free: 6.785 MB / 426.8 MB Notification: Performance of matching and sorting (n=2): time 8.86e-05/0.002453, allocations: 37.69 kB / 454 MB, free: 6.742 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.002479, allocations: 51.41 kB / 454.1 MB, free: 6.68 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.477e-05/0.002514, allocations: 146.2 kB / 454.2 MB, free: 6.523 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.002522, allocations: 29.7 kB / 454.2 MB, free: 6.488 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/0.002548, allocations: 131 kB / 454.4 MB, free: 6.355 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.002571, allocations: 4.297 kB / 454.4 MB, free: 6.352 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.002592, allocations: 19.38 kB / 454.4 MB, free: 6.324 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002356/0.002828, allocations: 0.4961 MB / 454.9 MB, free: 5.816 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-06/0.002835, allocations: 0 / 454.9 MB, free: 5.816 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-06/0.002842, allocations: 4 kB / 454.9 MB, free: 5.812 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.26e-05/0.002864, allocations: 11.69 kB / 454.9 MB, free: 5.797 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.002866, allocations: 0 / 454.9 MB, free: 5.797 MB / 426.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.111e-05/0.002907, allocations: 37.7 kB / 454.9 MB, free: 5.754 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.002917, allocations: 8.094 kB / 455 MB, free: 5.746 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.002921, allocations: 0 / 455 MB, free: 5.746 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.058e-06/0.00293, allocations: 3.984 kB / 455 MB, free: 5.742 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.201e-05/0.002962, allocations: 4 kB / 455 MB, free: 5.738 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.002965, allocations: 3.938 kB / 455 MB, free: 5.734 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.993e-06/0.002972, allocations: 0 / 455 MB, free: 5.734 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.002975, allocations: 4 kB / 455 MB, free: 5.73 MB / 426.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 5.733e-05/0.003033, allocations: 160.5 kB / 455.1 MB, free: 5.562 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-06/0.003037, allocations: 0 / 455.1 MB, free: 5.562 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.172e-05/0.003099, allocations: 48.84 kB / 455.2 MB, free: 5.508 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.0031, allocations: 0 / 455.2 MB, free: 5.508 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.003101, allocations: 0 / 455.2 MB, free: 5.508 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.003104, allocations: 0 / 455.2 MB, free: 5.508 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.084e-05/0.003155, allocations: 105.1 kB / 455.3 MB, free: 5.379 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.003155, allocations: 0 / 455.3 MB, free: 5.379 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.065e-05/0.003166, allocations: 4 kB / 455.3 MB, free: 5.375 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.003168, allocations: 4 kB / 455.3 MB, free: 5.371 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-06/0.00317, allocations: 0 / 455.3 MB, free: 5.371 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.003172, allocations: 3.984 kB / 455.3 MB, free: 5.367 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.003173, allocations: 0 / 455.3 MB, free: 5.367 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.541e-05/0.003219, allocations: 84.36 kB / 455.4 MB, free: 5.262 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-06/0.003222, allocations: 3.938 kB / 455.4 MB, free: 5.258 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-06/0.003228, allocations: 0 / 455.4 MB, free: 5.258 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-06/0.003233, allocations: 3.984 kB / 455.4 MB, free: 5.254 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-06/0.003241, allocations: 0 / 455.4 MB, free: 5.254 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.003244, allocations: 4 kB / 455.4 MB, free: 5.25 MB / 426.8 MB Notification: Performance of sorting global known variables: time 2.42e-05/0.003268, allocations: 119.2 kB / 455.5 MB, free: 5.133 MB / 426.8 MB Notification: Performance of sort global known variables: time 4.1e-08/0.003268, allocations: 0 / 455.5 MB, free: 5.133 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000113/0.003381, allocations: 0 / 455.5 MB, free: 5.133 MB / 426.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.292e-05/0.003464, allocations: 99.28 kB / 455.6 MB, free: 5.027 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 5.785e-05/0.003522, allocations: 19.61 kB / 455.6 MB, free: 5.004 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.003523, allocations: 4 kB / 455.6 MB, free: 5 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 7.515e-06/0.003531, allocations: 11.69 kB / 455.6 MB, free: 4.984 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.447e-05/0.003615, allocations: 7.938 kB / 455.6 MB, free: 4.977 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001436/0.003759, allocations: 89.34 kB / 455.7 MB, free: 4.859 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.804e-05/0.003787, allocations: 55.34 kB / 455.8 MB, free: 4.785 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.817e-05/0.003805, allocations: 8.125 kB / 455.8 MB, free: 4.777 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.003833, allocations: 66.2 kB / 455.9 MB, free: 4.711 MB / 426.8 MB Notification: Performance of SimCode: time 3.71e-07/0.003833, allocations: 0 / 455.9 MB, free: 4.711 MB / 426.8 MB Notification: Performance of Templates: time 0.001561/0.005394, allocations: 324.5 kB / 456.2 MB, free: 4.395 MB / 426.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: 3.4346588919870555]