Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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.001294/0.001294, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001776/0.00307, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001152/0.001152, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00152/0.002672, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.008/1.008, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1229/1.131, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 0.8308/0.8308, allocations: 88.08 MB / 332.2 MB, free: 14.13 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06611/0.8969, allocations: 32.93 MB / 365.2 MB, free: 13.37 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.[0-9,]+.|Que.[0-9,]+.|Tu.[0-9,]+.|time|u.[0-9,]+.|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 366.5 MB, free: 12.05 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.905e-05, allocations: 10.91 kB / 366.5 MB, free: 12.04 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002885/0.002914, allocations: 1.471 MB / 368 MB, free: 10.55 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.004123, allocations: 0.5533 MB / 368.5 MB, free: 9.996 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.00417, allocations: 0 / 368.5 MB, free: 9.996 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 4.965e-05/0.00422, allocations: 7.938 kB / 368.6 MB, free: 9.988 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002684/0.004489, allocations: 63.59 kB / 368.6 MB, free: 9.926 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.004612, allocations: 43.81 kB / 368.7 MB, free: 9.883 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.005186, allocations: 0.5817 MB / 369.2 MB, free: 9.301 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.00524, allocations: 8.188 kB / 369.3 MB, free: 9.293 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004961/0.005736, allocations: 275.6 kB / 369.5 MB, free: 9.023 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005302/0.006266, allocations: 271.5 kB / 369.8 MB, free: 8.758 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 9.981e-05/0.006366, allocations: 28 kB / 369.8 MB, free: 8.73 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.006581, allocations: 59.91 kB / 369.9 MB, free: 8.672 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.006826, allocations: 187.7 kB / 370.1 MB, free: 8.488 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.007231, allocations: 119.8 kB / 370.2 MB, free: 8.371 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000548/0.007779, allocations: 410.6 kB / 370.6 MB, free: 7.969 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.396e-05/0.007793, allocations: 0 / 370.6 MB, free: 7.969 MB / 362.8 MB Notification: Performance of FrontEnd: time 9.52e-07/0.007794, allocations: 0 / 370.6 MB, free: 7.969 MB / 362.8 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.007819, allocations: 4 kB / 370.6 MB, free: 7.965 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001487/0.009306, allocations: 0.8087 MB / 371.4 MB, free: 7.133 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.009353, allocations: 12.03 kB / 371.4 MB, free: 7.121 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.009512, allocations: 60.89 kB / 371.5 MB, free: 7.062 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.009877, allocations: 233.1 kB / 371.7 MB, free: 6.809 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.00991, allocations: 29.38 kB / 371.7 MB, free: 6.777 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.01004, allocations: 63.84 kB / 371.8 MB, free: 6.715 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006102/0.01065, allocations: 353 kB / 372.1 MB, free: 6.359 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.01067, allocations: 0 / 372.1 MB, free: 6.359 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-05/0.01072, allocations: 16 kB / 372.1 MB, free: 6.344 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.01074, allocations: 12 kB / 372.1 MB, free: 6.332 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.01112, allocations: 166.9 kB / 372.3 MB, free: 6.172 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.01165, allocations: 279.2 kB / 372.6 MB, free: 5.879 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.01371, allocations: 0.8212 MB / 373.4 MB, free: 5.047 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.01399, allocations: 155.8 kB / 373.6 MB, free: 4.895 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.01416, allocations: 32.98 kB / 373.6 MB, free: 4.863 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.01421, allocations: 47.48 kB / 373.6 MB, free: 4.809 MB / 362.8 MB Notification: Performance of pre-optimization done (n=103): time 3.978e-06/0.01421, allocations: 0 / 373.6 MB, free: 4.809 MB / 362.8 MB Notification: Performance of matching and sorting (n=103): time 0.00131/0.01552, allocations: 0.5407 MB / 374.2 MB, free: 4.258 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.01557, allocations: 64.41 kB / 374.2 MB, free: 4.184 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.01572, allocations: 167.1 kB / 374.4 MB, free: 4.008 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/0.01578, allocations: 45.7 kB / 374.4 MB, free: 3.957 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.01582, allocations: 98.11 kB / 374.5 MB, free: 3.859 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003493/0.01617, allocations: 420.3 kB / 375 MB, free: 3.445 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.01647, allocations: 178.8 kB / 375.1 MB, free: 3.266 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.01663, allocations: 370.7 kB / 375.5 MB, free: 2.895 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.01694, allocations: 141.4 kB / 375.6 MB, free: 2.754 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.0172, allocations: 143.7 kB / 375.8 MB, free: 2.617 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006755/0.01788, allocations: 439.1 kB / 376.2 MB, free: 2.184 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.01788, allocations: 4 kB / 376.2 MB, free: 2.18 MB / 362.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0008466/0.01873, allocations: 0.4893 MB / 376.7 MB, free: 1.684 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.01875, allocations: 7.938 kB / 376.7 MB, free: 1.676 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01876, allocations: 0 / 376.7 MB, free: 1.676 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.01879, allocations: 8 kB / 376.7 MB, free: 1.668 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.02007, allocations: 413.4 kB / 377.1 MB, free: 1.273 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.02008, allocations: 4 kB / 377.1 MB, free: 1.27 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.02037, allocations: 87.34 kB / 377.2 MB, free: 1.184 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.02044, allocations: 23.98 kB / 377.2 MB, free: 1.16 MB / 362.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 (144): * Single equations (assignments): 144 * 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 0.0002174/0.02066, allocations: 164.5 kB / 377.4 MB, free: 0.9883 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.02078, allocations: 67.94 kB / 377.4 MB, free: 0.9219 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.02205, allocations: 0.713 MB / 378.2 MB, free: 204 kB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.02206, allocations: 16 kB / 378.2 MB, free: 188 kB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.02206, allocations: 0 / 378.2 MB, free: 188 kB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.02208, allocations: 7.969 kB / 378.2 MB, free: 180 kB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006172/0.0227, allocations: 378.9 kB / 378.6 MB, free: 15.79 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.0227, allocations: 8 kB / 378.6 MB, free: 15.78 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.02423, allocations: 439.7 kB / 379 MB, free: 15.36 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.02449, allocations: 135.2 kB / 379.1 MB, free: 15.23 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.0245, allocations: 4 kB / 379.1 MB, free: 15.22 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.611e-05/0.0246, allocations: 47.89 kB / 379.2 MB, free: 15.18 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.02461, allocations: 11.94 kB / 379.2 MB, free: 15.16 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.02461, allocations: 0 / 379.2 MB, free: 15.16 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.02603, allocations: 0.9122 MB / 380.1 MB, free: 14.23 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.02614, allocations: 35.97 kB / 380.1 MB, free: 14.2 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.02638, allocations: 28 kB / 380.2 MB, free: 14.17 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.02653, allocations: 85.08 kB / 380.2 MB, free: 14.09 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-05/0.0266, allocations: 27.98 kB / 380.3 MB, free: 14.06 MB / 378.8 MB Notification: Performance of sorting global known variables: time 5.93e-05/0.02666, allocations: 44.8 kB / 380.3 MB, free: 14.02 MB / 378.8 MB Notification: Performance of sort global known variables: time 9e-08/0.02666, allocations: 0 / 380.3 MB, free: 14.02 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.0004923/0.02715, allocations: 235.9 kB / 380.5 MB, free: 13.79 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0003077/0.02746, allocations: 146 kB / 380.7 MB, free: 13.63 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.02867, allocations: 0.5311 MB / 381.2 MB, free: 13.1 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.067e-05/0.02869, allocations: 8 kB / 381.2 MB, free: 13.09 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006041/0.02929, allocations: 433.3 kB / 381.6 MB, free: 12.67 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007964/0.03009, allocations: 0.7791 MB / 382.4 MB, free: 11.75 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005914/0.036, allocations: 1.389 MB / 383.8 MB, free: 10.32 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.03615, allocations: 188.9 kB / 384 MB, free: 10.11 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.0004152/0.03657, allocations: 129.5 kB / 384.1 MB, free: 9.984 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006126/0.03718, allocations: 225.3 kB / 384.3 MB, free: 9.762 MB / 378.8 MB Notification: Performance of SimCode: time 1.603e-06/0.03718, allocations: 0 / 384.3 MB, free: 9.762 MB / 378.8 MB Notification: Performance of Templates: time 0.02077/0.05795, allocations: 11.74 MB / 396.1 MB, free: 14.23 MB / 394.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.053598219528794]