Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.0009058/0.0009058, allocations: 79.75 kB / 20.67 MB, free: 3.895 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.001052/0.001052, allocations: 170.8 kB / 23.95 MB, free: 0.6172 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.888/0.888, allocations: 177.1 MB / 204.2 MB, free: 5.742 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.5973/0.5973, allocations: 88.07 MB / 348.8 MB, free: 14.38 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|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.5234 GB, free: 3.594 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.867e-05, allocations: 2.281 kB / 0.5235 GB, free: 3.59 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0008279/0.0008465, allocations: 399.6 kB / 0.5238 GB, free: 3.203 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001528/0.0009994, allocations: 34.83 kB / 0.5239 GB, free: 3.172 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.001021, allocations: 0 / 0.5239 GB, free: 3.172 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.001035, allocations: 0 / 0.5239 GB, free: 3.172 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.103e-05/0.001086, allocations: 0 / 0.5239 GB, free: 3.172 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.001235, allocations: 4 kB / 0.5239 GB, free: 3.168 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 4.283e-05/0.001278, allocations: 4 kB / 0.5239 GB, free: 3.164 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.001318, allocations: 3.984 kB / 0.5239 GB, free: 3.16 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.152e-05/0.001349, allocations: 8 kB / 0.5239 GB, free: 3.152 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.34e-05/0.001392, allocations: 3.984 kB / 0.5239 GB, free: 3.148 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.001405, allocations: 3.938 kB / 0.5239 GB, free: 3.145 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.001457, allocations: 4 kB / 0.5239 GB, free: 3.141 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.001467, allocations: 7.984 kB / 0.5239 GB, free: 3.133 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.001481, allocations: 4 kB / 0.5239 GB, free: 3.129 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.498e-05/0.001556, allocations: 11.88 kB / 0.5239 GB, free: 3.117 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.001558, allocations: 4 kB / 0.5239 GB, free: 3.113 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.042e-06/0.00156, allocations: 4 kB / 0.5239 GB, free: 3.109 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.366e-06/0.001563, allocations: 0 / 0.5239 GB, free: 3.109 MB / 442.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.0002105/0.001773, allocations: 234.5 kB / 0.5241 GB, free: 2.848 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.001808, allocations: 12.03 kB / 0.5242 GB, free: 2.836 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.001835, allocations: 4.875 kB / 0.5242 GB, free: 2.832 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.221e-05/0.001887, allocations: 101.8 kB / 0.5243 GB, free: 2.707 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.001895, allocations: 384 / 0.5243 GB, free: 2.707 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.001902, allocations: 4.375 kB / 0.5243 GB, free: 2.703 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.92e-05/0.001982, allocations: 38.25 kB / 0.5243 GB, free: 2.66 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.001988, allocations: 192 / 0.5243 GB, free: 2.66 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.001995, allocations: 384 / 0.5243 GB, free: 2.66 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.002, allocations: 4.375 kB / 0.5243 GB, free: 2.656 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.085e-05/0.00203, allocations: 11.88 kB / 0.5243 GB, free: 2.645 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.002146, allocations: 93.33 kB / 0.5244 GB, free: 2.523 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.811e-05/0.002215, allocations: 26.59 kB / 0.5244 GB, free: 2.488 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.002238, allocations: 8.922 kB / 0.5244 GB, free: 2.477 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/0.002465, allocations: 8 kB / 0.5244 GB, free: 2.469 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.002485, allocations: 30.56 kB / 0.5245 GB, free: 2.43 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 2.885e-06/0.002488, allocations: 3.984 kB / 0.5245 GB, free: 2.426 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001122/0.002601, allocations: 49.62 kB / 0.5245 GB, free: 2.371 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.002626, allocations: 51.41 kB / 0.5246 GB, free: 2.309 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.519e-05/0.002651, allocations: 93.86 kB / 0.5247 GB, free: 2.207 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.00266, allocations: 25.7 kB / 0.5247 GB, free: 2.176 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.898e-05/0.002679, allocations: 80.14 kB / 0.5248 GB, free: 2.094 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.002705, allocations: 11.89 kB / 0.5248 GB, free: 2.082 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.002726, allocations: 13.72 kB / 0.5248 GB, free: 2.062 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.002799, allocations: 318.8 kB / 0.5251 GB, free: 1.742 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.002807, allocations: 0 / 0.5251 GB, free: 1.742 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-06/0.002814, allocations: 4 kB / 0.5251 GB, free: 1.738 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.442e-05/0.002838, allocations: 17.05 kB / 0.5251 GB, free: 1.719 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.00284, allocations: 0 / 0.5251 GB, free: 1.719 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.702e-05/0.002877, allocations: 45.58 kB / 0.5252 GB, free: 1.668 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.002888, allocations: 14.8 kB / 0.5252 GB, free: 1.656 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.002893, allocations: 0 / 0.5252 GB, free: 1.656 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.002903, allocations: 0 / 0.5252 GB, free: 1.656 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.199e-05/0.002945, allocations: 0 / 0.5252 GB, free: 1.656 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.00295, allocations: 4 kB / 0.5252 GB, free: 1.652 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-06/0.002959, allocations: 3.938 kB / 0.5252 GB, free: 1.648 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.002963, allocations: 0 / 0.5252 GB, free: 1.648 MB / 442.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.775e-05/0.003021, allocations: 109.9 kB / 0.5253 GB, free: 1.531 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-06/0.003025, allocations: 4 kB / 0.5253 GB, free: 1.527 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.482e-05/0.00311, allocations: 48.8 kB / 0.5253 GB, free: 1.473 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.003111, allocations: 3.938 kB / 0.5253 GB, free: 1.469 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.003116, allocations: 0 / 0.5253 GB, free: 1.469 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.003119, allocations: 0 / 0.5253 GB, free: 1.469 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.118e-05/0.00318, allocations: 97.89 kB / 0.5254 GB, free: 1.344 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.003182, allocations: 7.938 kB / 0.5254 GB, free: 1.336 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.315e-05/0.003195, allocations: 7.984 kB / 0.5255 GB, free: 1.328 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.003196, allocations: 4.031 kB / 0.5255 GB, free: 1.324 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.003204, allocations: 8 kB / 0.5255 GB, free: 1.316 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.003205, allocations: 0 / 0.5255 GB, free: 1.316 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.003206, allocations: 0 / 0.5255 GB, free: 1.316 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.133e-05/0.003257, allocations: 57.08 kB / 0.5255 GB, free: 1.242 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.003263, allocations: 7.938 kB / 0.5255 GB, free: 1.234 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.003274, allocations: 8 kB / 0.5255 GB, free: 1.227 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.389e-06/0.003278, allocations: 0 / 0.5255 GB, free: 1.227 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.003292, allocations: 0 / 0.5255 GB, free: 1.227 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.003294, allocations: 0 / 0.5255 GB, free: 1.227 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.194e-05/0.003316, allocations: 75.28 kB / 0.5256 GB, free: 1.152 MB / 442.8 MB Notification: Performance of sort global known variables: time 4e-08/0.003316, allocations: 7.969 kB / 0.5256 GB, free: 1.145 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001248/0.003441, allocations: 4 kB / 0.5256 GB, free: 1.141 MB / 442.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 0.0001043/0.003545, allocations: 103.2 kB / 0.5257 GB, free: 1.031 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 6.352e-05/0.003609, allocations: 7.984 kB / 0.5257 GB, free: 1.023 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.00361, allocations: 0 / 0.5257 GB, free: 1.023 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 5.741e-06/0.003616, allocations: 8 kB / 0.5257 GB, free: 1.016 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.003717, allocations: 4 kB / 0.5257 GB, free: 1.012 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001844/0.003901, allocations: 84.8 kB / 0.5258 GB, free: 0.9023 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.622e-05/0.003937, allocations: 63.47 kB / 0.5259 GB, free: 0.8203 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 1.858e-05/0.003956, allocations: 3.938 kB / 0.5259 GB, free: 0.8164 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.519e-05/0.003971, allocations: 8.5 kB / 0.5259 GB, free: 0.8086 MB / 442.8 MB Notification: Performance of SimCode: time 2.5e-07/0.003971, allocations: 0 / 0.5259 GB, free: 0.8086 MB / 442.8 MB Notification: Performance of Templates: time 0.001614/0.005586, allocations: 295.6 kB / 0.5262 GB, free: 0.5234 MB / 442.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",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.4220963921397924]