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.001536/0.001536, allocations: 85.91 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001631/0.001631, allocations: 164.8 kB / 23.96 MB, free: 4.164 MB / 14.72 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.371/1.371, allocations: 177.2 MB / 204.3 MB, free: 9.168 MB / 190.1 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.8946/0.8946, allocations: 88.06 MB / 348.7 MB, free: 1.793 MB / 318.1 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_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_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 0.9062 kB / 0.5234 GB, free: 8.336 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.746e-05, allocations: 2.281 kB / 0.5234 GB, free: 8.332 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001084/0.001112, allocations: 396 kB / 0.5238 GB, free: 8.043 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.0001561/0.001268, allocations: 31.77 kB / 0.5239 GB, free: 8.02 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.001291, allocations: 0 / 0.5239 GB, free: 8.02 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.001305, allocations: 0 / 0.5239 GB, free: 8.02 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 3.953e-05/0.001345, allocations: 0 / 0.5239 GB, free: 8.02 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.001471, allocations: 6.656 kB / 0.5239 GB, free: 8.016 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 3.469e-05/0.001506, allocations: 6.891 kB / 0.5239 GB, free: 8.012 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.001551, allocations: 9.391 kB / 0.5239 GB, free: 8.004 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 2.465e-05/0.001575, allocations: 9.406 kB / 0.5239 GB, free: 7.996 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 3.518e-05/0.001611, allocations: 0 / 0.5239 GB, free: 7.996 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.001622, allocations: 1.562 kB / 0.5239 GB, free: 7.996 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 5.054e-05/0.001673, allocations: 8.125 kB / 0.5239 GB, free: 7.992 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 9.347e-06/0.001682, allocations: 5.328 kB / 0.5239 GB, free: 7.988 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 1.095e-05/0.001693, allocations: 0 / 0.5239 GB, free: 7.988 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 6.52e-05/0.001759, allocations: 9.531 kB / 0.5239 GB, free: 7.984 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.001761, allocations: 4 kB / 0.5239 GB, free: 7.98 MB / 446.2 MB Notification: Performance of FrontEnd: time 4.81e-07/0.001762, allocations: 0 / 0.5239 GB, free: 7.98 MB / 446.2 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.001765, allocations: 0 / 0.5239 GB, free: 7.98 MB / 446.2 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.0001818/0.001946, allocations: 240.1 kB / 0.5241 GB, free: 7.719 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.001975, allocations: 13.16 kB / 0.5242 GB, free: 7.715 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.001999, allocations: 0.9375 kB / 0.5242 GB, free: 7.715 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.019e-05/0.00204, allocations: 104.5 kB / 0.5243 GB, free: 7.59 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.002049, allocations: 384 / 0.5243 GB, free: 7.59 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.002056, allocations: 3.031 kB / 0.5243 GB, free: 7.59 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.316e-05/0.002129, allocations: 37.56 kB / 0.5243 GB, free: 7.551 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.002136, allocations: 4.125 kB / 0.5243 GB, free: 7.547 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.002142, allocations: 384 / 0.5243 GB, free: 7.547 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.002146, allocations: 4.312 kB / 0.5243 GB, free: 7.543 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.493e-05/0.002171, allocations: 7.375 kB / 0.5243 GB, free: 7.539 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.768e-05/0.002248, allocations: 101 kB / 0.5244 GB, free: 7.414 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 4.256e-05/0.002291, allocations: 26.12 kB / 0.5244 GB, free: 7.383 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.002306, allocations: 8.484 kB / 0.5244 GB, free: 7.375 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.002463, allocations: 6.938 kB / 0.5244 GB, free: 7.375 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.002479, allocations: 34.55 kB / 0.5245 GB, free: 7.332 MB / 446.2 MB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.00248, allocations: 0 / 0.5245 GB, free: 7.332 MB / 446.2 MB Notification: Performance of matching and sorting (n=2): time 0.000107/0.002587, allocations: 41.27 kB / 0.5245 GB, free: 7.293 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.002607, allocations: 54.06 kB / 0.5246 GB, free: 7.23 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.274e-05/0.00262, allocations: 89.86 kB / 0.5247 GB, free: 7.133 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.002626, allocations: 29.83 kB / 0.5247 GB, free: 7.098 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 8.266e-06/0.002634, allocations: 84.12 kB / 0.5248 GB, free: 7.012 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.002668, allocations: 11.17 kB / 0.5248 GB, free: 7.004 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.002689, allocations: 13.7 kB / 0.5248 GB, free: 6.984 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 3.464e-05/0.002724, allocations: 317.2 kB / 0.5251 GB, free: 6.668 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.002734, allocations: 0 / 0.5251 GB, free: 6.668 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.002741, allocations: 2.781 kB / 0.5251 GB, free: 6.668 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.635e-05/0.002767, allocations: 18.14 kB / 0.5251 GB, free: 6.652 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.002768, allocations: 0 / 0.5251 GB, free: 6.652 MB / 446.2 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.677e-05/0.002815, allocations: 42.05 kB / 0.5251 GB, free: 6.613 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.002825, allocations: 12.86 kB / 0.5252 GB, free: 6.605 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.002828, allocations: 0 / 0.5252 GB, free: 6.605 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.002841, allocations: 1.25 kB / 0.5252 GB, free: 6.605 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.193e-05/0.002883, allocations: 2.938 kB / 0.5252 GB, free: 6.605 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.002886, allocations: 0 / 0.5252 GB, free: 6.605 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.0029, allocations: 5.219 kB / 0.5252 GB, free: 6.602 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.002904, allocations: 3.984 kB / 0.5252 GB, free: 6.598 MB / 446.2 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.419e-05/0.002938, allocations: 107.5 kB / 0.5253 GB, free: 6.484 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-06/0.002945, allocations: 1.5 kB / 0.5253 GB, free: 6.484 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.439e-05/0.00302, allocations: 55.39 kB / 0.5253 GB, free: 6.43 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.003021, allocations: 1.344 kB / 0.5253 GB, free: 6.43 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.003024, allocations: 0 / 0.5253 GB, free: 6.43 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.003025, allocations: 0 / 0.5253 GB, free: 6.43 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.597e-05/0.003061, allocations: 99.89 kB / 0.5254 GB, free: 6.305 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.003062, allocations: 0 / 0.5254 GB, free: 6.305 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.003082, allocations: 7.203 kB / 0.5254 GB, free: 6.301 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.003084, allocations: 1.156 kB / 0.5254 GB, free: 6.301 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.00309, allocations: 8 kB / 0.5254 GB, free: 6.293 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.003091, allocations: 1.344 kB / 0.5254 GB, free: 6.293 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.003092, allocations: 4.031 kB / 0.5254 GB, free: 6.289 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.269e-05/0.003145, allocations: 63.02 kB / 0.5255 GB, free: 6.219 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-06/0.00315, allocations: 13 kB / 0.5255 GB, free: 6.207 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.003159, allocations: 4 kB / 0.5255 GB, free: 6.203 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.135e-05/0.00317, allocations: 1.219 kB / 0.5255 GB, free: 6.203 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-06/0.00318, allocations: 0.9375 kB / 0.5255 GB, free: 6.203 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.003182, allocations: 1.094 kB / 0.5255 GB, free: 6.203 MB / 446.2 MB Notification: Performance of sorting global known variables: time 9.758e-06/0.003192, allocations: 77.95 kB / 0.5256 GB, free: 6.129 MB / 446.2 MB Notification: Performance of sort global known variables: time 5e-08/0.003192, allocations: 0 / 0.5256 GB, free: 6.129 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.000176/0.003368, allocations: 3.562 kB / 0.5256 GB, free: 6.129 MB / 446.2 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.275e-05/0.003451, allocations: 105.6 kB / 0.5257 GB, free: 6.031 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 6.712e-05/0.003518, allocations: 9.672 kB / 0.5257 GB, free: 6.027 MB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.003519, allocations: 0 / 0.5257 GB, free: 6.027 MB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 9.628e-06/0.003529, allocations: 11.69 kB / 0.5257 GB, free: 6.02 MB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.003648, allocations: 5.547 kB / 0.5257 GB, free: 6.016 MB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001469/0.003795, allocations: 78.47 kB / 0.5258 GB, free: 5.922 MB / 446.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.177e-05/0.003817, allocations: 62.78 kB / 0.5259 GB, free: 5.844 MB / 446.2 MB Notification: Performance of simCode: alias equations: time 1.753e-05/0.003834, allocations: 6 kB / 0.5259 GB, free: 5.84 MB / 446.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.221e-05/0.003846, allocations: 8.5 kB / 0.5259 GB, free: 5.832 MB / 446.2 MB Notification: Performance of SimCode: time 2.8e-07/0.003847, allocations: 1.875 kB / 0.5259 GB, free: 5.832 MB / 446.2 MB Notification: Performance of Templates: time 0.002155/0.006002, allocations: 293.4 kB / 0.5262 GB, free: 5.676 MB / 446.2 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_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_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: 5.167048946022987]