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.0009546/0.0009546, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003983/0.003983, allocations: 165.1 kB / 24.7 MB, free: 9.426 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.8781/0.8781, allocations: 177.1 MB / 205 MB, free: 5.727 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.6021/0.6021, allocations: 88.07 MB / 349.5 MB, free: 14.36 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_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 2.755e-06/2.755e-06, allocations: 0 / 0.5242 GB, free: 3.578 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.198e-05, allocations: 2.281 kB / 0.5242 GB, free: 3.574 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001377/0.001409, allocations: 389.2 kB / 0.5246 GB, free: 3.199 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002191/0.001628, allocations: 34.83 kB / 0.5246 GB, free: 3.168 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.001653, allocations: 0 / 0.5246 GB, free: 3.168 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.001671, allocations: 3.938 kB / 0.5246 GB, free: 3.164 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.435e-05/0.001725, allocations: 0 / 0.5246 GB, free: 3.164 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.001894, allocations: 11.98 kB / 0.5246 GB, free: 3.152 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 5.284e-05/0.001947, allocations: 0 / 0.5246 GB, free: 3.152 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.316e-05/0.002, allocations: 0 / 0.5246 GB, free: 3.152 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.002036, allocations: 4 kB / 0.5246 GB, free: 3.148 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.876e-05/0.002084, allocations: 4 kB / 0.5246 GB, free: 3.145 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.002097, allocations: 3.938 kB / 0.5246 GB, free: 3.141 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.00216, allocations: 7.984 kB / 0.5246 GB, free: 3.133 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.002173, allocations: 7.984 kB / 0.5246 GB, free: 3.125 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.648e-05/0.002189, allocations: 4 kB / 0.5246 GB, free: 3.121 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 8.933e-05/0.002278, allocations: 11.92 kB / 0.5247 GB, free: 3.109 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.002281, allocations: 0 / 0.5247 GB, free: 3.109 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.673e-06/0.002283, allocations: 4 kB / 0.5247 GB, free: 3.105 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.002287, allocations: 0 / 0.5247 GB, free: 3.105 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.0002531/0.00254, allocations: 238.4 kB / 0.5249 GB, free: 2.84 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.002582, allocations: 16.02 kB / 0.5249 GB, free: 2.824 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.002615, allocations: 0.9375 kB / 0.5249 GB, free: 2.824 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.696e-05/0.002682, allocations: 109.7 kB / 0.525 GB, free: 2.691 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.002694, allocations: 384 / 0.525 GB, free: 2.691 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-06/0.002702, allocations: 4.375 kB / 0.525 GB, free: 2.688 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.143e-05/0.002793, allocations: 34.27 kB / 0.525 GB, free: 2.648 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.002801, allocations: 192 / 0.525 GB, free: 2.648 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.00281, allocations: 4.375 kB / 0.5251 GB, free: 2.645 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.002814, allocations: 384 / 0.5251 GB, free: 2.645 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.573e-05/0.002849, allocations: 11.92 kB / 0.5251 GB, free: 2.633 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.002976, allocations: 93.33 kB / 0.5252 GB, free: 2.512 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.912e-05/0.003045, allocations: 26.55 kB / 0.5252 GB, free: 2.477 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.00307, allocations: 8.922 kB / 0.5252 GB, free: 2.465 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.003291, allocations: 11.98 kB / 0.5252 GB, free: 2.453 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.003315, allocations: 30.56 kB / 0.5252 GB, free: 2.414 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.003317, allocations: 0 / 0.5252 GB, free: 2.414 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001482/0.003465, allocations: 41.7 kB / 0.5253 GB, free: 2.367 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.003499, allocations: 55.39 kB / 0.5253 GB, free: 2.301 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.242e-05/0.003532, allocations: 93.86 kB / 0.5254 GB, free: 2.199 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.003542, allocations: 25.7 kB / 0.5254 GB, free: 2.168 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.147e-05/0.003564, allocations: 80.14 kB / 0.5255 GB, free: 2.086 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.003597, allocations: 15.83 kB / 0.5255 GB, free: 2.07 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.003627, allocations: 13.72 kB / 0.5255 GB, free: 2.051 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.003718, allocations: 314.8 kB / 0.5258 GB, free: 1.734 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.003728, allocations: 0 / 0.5258 GB, free: 1.734 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-06/0.003737, allocations: 4 kB / 0.5258 GB, free: 1.73 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.353e-05/0.00377, allocations: 17.05 kB / 0.5259 GB, free: 1.711 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.003772, allocations: 0 / 0.5259 GB, free: 1.711 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.459e-05/0.003837, allocations: 45.62 kB / 0.5259 GB, free: 1.66 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.003853, allocations: 8 kB / 0.5259 GB, free: 1.652 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.00386, allocations: 0 / 0.5259 GB, free: 1.652 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.003872, allocations: 0 / 0.5259 GB, free: 1.652 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.953e-05/0.003931, allocations: 3.938 kB / 0.5259 GB, free: 1.648 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.003937, allocations: 7.938 kB / 0.5259 GB, free: 1.641 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.292e-05/0.00395, allocations: 3.938 kB / 0.5259 GB, free: 1.637 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.003955, allocations: 0 / 0.5259 GB, free: 1.637 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.915e-05/0.004014, allocations: 113.9 kB / 0.526 GB, free: 1.516 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.004022, allocations: 4 kB / 0.526 GB, free: 1.512 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.909e-05/0.004121, allocations: 44.81 kB / 0.5261 GB, free: 1.461 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.004123, allocations: 0 / 0.5261 GB, free: 1.461 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.004127, allocations: 0 / 0.5261 GB, free: 1.461 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.004132, allocations: 3.984 kB / 0.5261 GB, free: 1.457 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.643e-05/0.004198, allocations: 97.89 kB / 0.5262 GB, free: 1.332 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.004201, allocations: 4 kB / 0.5262 GB, free: 1.328 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.004226, allocations: 4 kB / 0.5262 GB, free: 1.324 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.004228, allocations: 4.031 kB / 0.5262 GB, free: 1.32 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.004235, allocations: 4 kB / 0.5262 GB, free: 1.316 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.004236, allocations: 0 / 0.5262 GB, free: 1.316 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.004237, allocations: 0 / 0.5262 GB, free: 1.316 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.042e-05/0.004308, allocations: 69 kB / 0.5263 GB, free: 1.23 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-06/0.004313, allocations: 3.953 kB / 0.5263 GB, free: 1.227 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.004327, allocations: 4 kB / 0.5263 GB, free: 1.223 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.333e-05/0.00434, allocations: 4 kB / 0.5263 GB, free: 1.219 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.004353, allocations: 0 / 0.5263 GB, free: 1.219 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.004356, allocations: 0 / 0.5263 GB, free: 1.219 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.341e-05/0.00438, allocations: 79.31 kB / 0.5263 GB, free: 1.141 MB / 442.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.00438, allocations: 0 / 0.5263 GB, free: 1.141 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002039/0.004584, allocations: 7.984 kB / 0.5264 GB, free: 1.133 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.0001295/0.004713, allocations: 99.19 kB / 0.5264 GB, free: 1.027 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 7.692e-05/0.00479, allocations: 7.938 kB / 0.5265 GB, free: 1.02 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.004792, allocations: 0 / 0.5265 GB, free: 1.02 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 6.713e-06/0.004799, allocations: 4 kB / 0.5265 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.0001345/0.004933, allocations: 8 kB / 0.5265 GB, free: 1.008 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.005164, allocations: 114.6 kB / 0.5266 GB, free: 0.8633 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.005205, allocations: 59.36 kB / 0.5266 GB, free: 0.7852 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.005226, allocations: 8.5 kB / 0.5266 GB, free: 0.7773 MB / 442.8 MB Notification: Performance of SimCode: time 3.71e-07/0.005226, allocations: 0 / 0.5266 GB, free: 0.7773 MB / 442.8 MB Notification: Performance of Templates: time 0.001508/0.006734, allocations: 455.6 kB / 0.5271 GB, free: 340 kB / 442.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=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: 4.872256456874311]