Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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.001581/0.001581, allocations: 76.41 kB / 21.69 MB, free: 2.855 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.002067/0.002067, allocations: 166.6 kB / 24.99 MB, free: 8.746 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 1.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.6086/0.6086, allocations: 88.07 MB / 349.9 MB, free: 14.28 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.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|der.Tu.[0-9,]+..|der.x.[0-9,]+..|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|der.Tu.[0-9,]+..|der.x.[0-9,]+..|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 453.2 MB, free: 32.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.53e-05, allocations: 2.859 kB / 453.2 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.006992/0.007027, allocations: 1.433 MB / 454.7 MB, free: 31.41 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007935/0.007821, allocations: 0.5321 MB / 455.2 MB, free: 31.08 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.007877, allocations: 7.875 kB / 455.2 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.372e-05/0.007971, allocations: 10.55 kB / 455.2 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.008321, allocations: 59.59 kB / 455.3 MB, free: 31.04 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 9.493e-05/0.008416, allocations: 40.64 kB / 455.3 MB, free: 31.02 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.008665, allocations: 326.9 kB / 455.6 MB, free: 30.92 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.472e-05/0.008719, allocations: 9.938 kB / 455.6 MB, free: 30.92 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.008974, allocations: 158.8 kB / 455.8 MB, free: 30.86 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.009393, allocations: 150.7 kB / 455.9 MB, free: 30.83 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.009436, allocations: 14.62 kB / 456 MB, free: 30.83 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.009551, allocations: 39.38 kB / 456 MB, free: 30.82 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.009682, allocations: 132.3 kB / 456.1 MB, free: 30.77 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.819e-05/0.00976, allocations: 94.72 kB / 456.2 MB, free: 30.74 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.009988, allocations: 269.8 kB / 456.5 MB, free: 30.67 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.009993, allocations: 0 / 456.5 MB, free: 30.67 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.143e-06/0.009994, allocations: 0 / 456.5 MB, free: 30.67 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.009999, allocations: 0 / 456.5 MB, free: 30.67 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006462/0.01065, allocations: 0.6189 MB / 457.1 MB, free: 30.2 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.01068, allocations: 14.92 kB / 457.1 MB, free: 30.2 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.716e-05/0.01076, allocations: 47.73 kB / 457.2 MB, free: 30.17 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.01093, allocations: 187.6 kB / 457.3 MB, free: 30.01 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.01095, allocations: 20.88 kB / 457.4 MB, free: 30 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.01099, allocations: 32.52 kB / 457.4 MB, free: 29.99 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.01124, allocations: 204.7 kB / 457.6 MB, free: 29.92 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.01125, allocations: 0 / 457.6 MB, free: 29.92 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.01127, allocations: 11 kB / 457.6 MB, free: 29.91 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.01127, allocations: 2.875 kB / 457.6 MB, free: 29.91 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.01146, allocations: 137.8 kB / 457.7 MB, free: 29.9 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.01173, allocations: 242.4 kB / 458 MB, free: 29.69 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009223/0.01265, allocations: 0.5043 MB / 458.5 MB, free: 29.55 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.01279, allocations: 115.7 kB / 458.6 MB, free: 29.52 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.01291, allocations: 25.73 kB / 458.6 MB, free: 29.52 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.01293, allocations: 40.77 kB / 458.7 MB, free: 29.47 MB / 410.8 MB Notification: Performance of pre-optimization done (n=53): time 2.265e-06/0.01293, allocations: 0 / 458.7 MB, free: 29.47 MB / 410.8 MB Notification: Performance of matching and sorting (n=53): time 0.0005658/0.0135, allocations: 451.7 kB / 459.1 MB, free: 29.34 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.01353, allocations: 57.78 kB / 459.2 MB, free: 29.27 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.286e-05/0.0136, allocations: 198.6 kB / 459.4 MB, free: 29.1 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.01362, allocations: 36.83 kB / 459.4 MB, free: 29.06 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.01365, allocations: 149.1 kB / 459.5 MB, free: 28.92 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.01376, allocations: 221.8 kB / 459.8 MB, free: 28.74 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/0.01385, allocations: 114.1 kB / 459.9 MB, free: 28.68 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.71e-05/0.0139, allocations: 0.5206 MB / 460.4 MB, free: 28.16 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.01404, allocations: 103.2 kB / 460.5 MB, free: 28.15 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.01418, allocations: 115 kB / 460.6 MB, free: 28.12 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.01447, allocations: 275.6 kB / 460.9 MB, free: 28.04 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01447, allocations: 0 / 460.9 MB, free: 28.04 MB / 410.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000415/0.01489, allocations: 419.5 kB / 461.3 MB, free: 27.9 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.0149, allocations: 5.781 kB / 461.3 MB, free: 27.9 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.01491, allocations: 0 / 461.3 MB, free: 27.9 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.01492, allocations: 2.875 kB / 461.3 MB, free: 27.9 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.01535, allocations: 143.9 kB / 461.4 MB, free: 27.88 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.01536, allocations: 3 kB / 461.4 MB, free: 27.88 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.372e-05/0.01544, allocations: 44.45 kB / 461.5 MB, free: 27.85 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.01547, allocations: 26.05 kB / 461.5 MB, free: 27.84 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 (74): * Single equations (assignments): 74 * 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 7.586e-05/0.01554, allocations: 179.4 kB / 461.7 MB, free: 27.66 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.01559, allocations: 44.89 kB / 461.7 MB, free: 27.64 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005747/0.01616, allocations: 0.5216 MB / 462.2 MB, free: 27.44 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.01617, allocations: 8.438 kB / 462.3 MB, free: 27.44 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01617, allocations: 0 / 462.3 MB, free: 27.44 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.01618, allocations: 3.234 kB / 462.3 MB, free: 27.44 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.0164, allocations: 298.3 kB / 462.5 MB, free: 27.2 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.0164, allocations: 0 / 462.5 MB, free: 27.2 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.01679, allocations: 161.3 kB / 462.7 MB, free: 27.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.0168, allocations: 6.969 kB / 462.7 MB, free: 27.18 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.01684, allocations: 19.72 kB / 462.7 MB, free: 27.17 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.01684, allocations: 2.688 kB / 462.7 MB, free: 27.17 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01684, allocations: 3.094 kB / 462.7 MB, free: 27.17 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.01752, allocations: 0.6563 MB / 463.4 MB, free: 26.93 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.01762, allocations: 97.36 kB / 463.5 MB, free: 26.89 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.01766, allocations: 17.09 kB / 463.5 MB, free: 26.89 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-05/0.01775, allocations: 14.75 kB / 463.5 MB, free: 26.88 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.01781, allocations: 50.09 kB / 463.6 MB, free: 26.87 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.01783, allocations: 26.25 kB / 463.6 MB, free: 26.86 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.613e-05/0.01788, allocations: 146.7 kB / 463.7 MB, free: 26.73 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01788, allocations: 0 / 463.7 MB, free: 26.73 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002467/0.01812, allocations: 128.8 kB / 463.9 MB, free: 26.71 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0001597/0.01828, allocations: 132.5 kB / 464 MB, free: 26.61 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000422/0.01871, allocations: 358.9 kB / 464.3 MB, free: 26.54 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01871, allocations: 0 / 464.3 MB, free: 26.54 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.01891, allocations: 236.3 kB / 464.6 MB, free: 26.48 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.01914, allocations: 61.44 kB / 464.6 MB, free: 26.45 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.02043, allocations: 1.087 MB / 465.7 MB, free: 25.77 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.859e-05/0.02049, allocations: 124.8 kB / 465.8 MB, free: 25.7 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.02069, allocations: 145.1 kB / 466 MB, free: 25.67 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.02079, allocations: 56.66 kB / 466 MB, free: 25.65 MB / 410.8 MB Notification: Performance of SimCode: time 1.012e-06/0.02079, allocations: 2.594 kB / 466 MB, free: 25.65 MB / 410.8 MB Notification: Performance of Templates: time 0.007195/0.02799, allocations: 5.36 MB / 471.4 MB, free: 25.05 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_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: 5.082482957048342]