Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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.001575/0.001575, allocations: 79.06 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.001709/0.001709, allocations: 164.6 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.404/1.404, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.8994/0.8994, allocations: 88.07 MB / 348.7 MB, free: 1.781 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.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.40.|Que.1.|Que.2.|Que.3.|Que.40.|Tu.1.|Tu.2.|Tu.3.|Tu.40.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.40..|der.x.1..|der.x.2..|der.x.3..|der.x.40..|time|time|u.1.|u.2.|u.3.|u.40.|x.1.|x.2.|x.3.|x.40.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5251 GB, free: 7.23 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.61e-05, allocations: 2.281 kB / 0.5251 GB, free: 7.227 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001834/0.00186, allocations: 1.377 MB / 0.5264 GB, free: 6.141 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.0007865/0.002646, allocations: 0.5145 MB / 0.527 GB, free: 5.754 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.002688, allocations: 4.844 kB / 0.527 GB, free: 5.75 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 7.22e-05/0.002761, allocations: 12.77 kB / 0.527 GB, free: 5.738 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.00304, allocations: 67.34 kB / 0.527 GB, free: 5.688 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.003141, allocations: 38.97 kB / 0.5271 GB, free: 5.66 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.0007425/0.003883, allocations: 1.026 MB / 0.5281 GB, free: 5.109 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.003929, allocations: 9 kB / 0.5281 GB, free: 5.109 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.00444, allocations: 485.2 kB / 0.5285 GB, free: 4.859 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006149/0.005055, allocations: 0.5006 MB / 0.529 GB, free: 4.562 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.005208, allocations: 58.06 kB / 0.5291 GB, free: 4.562 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.00544, allocations: 83.94 kB / 0.5292 GB, free: 4.551 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 0.0003751/0.005815, allocations: 485.8 kB / 0.5296 GB, free: 4.258 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 0.000404/0.006219, allocations: 352.3 kB / 0.53 GB, free: 4.078 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0007497/0.006969, allocations: 0.9067 MB / 0.5309 GB, free: 3.383 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.006974, allocations: 0 / 0.5309 GB, free: 3.383 MB / 446.2 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006975, allocations: 0 / 0.5309 GB, free: 3.383 MB / 446.2 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.006992, allocations: 4 kB / 0.5309 GB, free: 3.379 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002586/0.009579, allocations: 1.224 MB / 0.532 GB, free: 2.121 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.009615, allocations: 11.97 kB / 0.5321 GB, free: 2.109 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.009794, allocations: 92.42 kB / 0.5321 GB, free: 2.02 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.01036, allocations: 423.8 kB / 0.5326 GB, free: 1.574 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.01039, allocations: 58.38 kB / 0.5326 GB, free: 1.516 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.01056, allocations: 123.9 kB / 0.5327 GB, free: 1.395 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.01197, allocations: 1.135 MB / 0.5338 GB, free: 256 kB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.01199, allocations: 0 / 0.5338 GB, free: 256 kB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/0.01209, allocations: 32 kB / 0.5339 GB, free: 224 kB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.0121, allocations: 16 kB / 0.5339 GB, free: 208 kB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.01399, allocations: 1.257 MB / 0.5351 GB, free: 14.95 MB / 462.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.01544, allocations: 0.87 MB / 0.536 GB, free: 14.05 MB / 462.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006911/0.02235, allocations: 2.696 MB / 0.5386 GB, free: 11.36 MB / 462.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.02378, allocations: 0.8304 MB / 0.5394 GB, free: 10.53 MB / 462.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.02403, allocations: 37.98 kB / 0.5394 GB, free: 10.49 MB / 462.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.78e-05/0.02409, allocations: 56.5 kB / 0.5395 GB, free: 10.43 MB / 462.2 MB Notification: Performance of pre-optimization done (n=203): time 4.849e-06/0.02409, allocations: 4 kB / 0.5395 GB, free: 10.42 MB / 462.2 MB Notification: Performance of matching and sorting (n=203): time 0.004593/0.02868, allocations: 2.653 MB / 0.5421 GB, free: 7.762 MB / 462.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.02875, allocations: 73.41 kB / 0.5422 GB, free: 7.68 MB / 462.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.02901, allocations: 241.8 kB / 0.5424 GB, free: 7.434 MB / 462.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.02912, allocations: 53.7 kB / 0.5424 GB, free: 7.375 MB / 462.2 MB Notification: Performance of collectInitialEqns (initialization): time 9.749e-05/0.02922, allocations: 131.3 kB / 0.5426 GB, free: 7.242 MB / 462.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007247/0.02994, allocations: 0.8134 MB / 0.5434 GB, free: 6.422 MB / 462.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005552/0.0305, allocations: 376.3 kB / 0.5437 GB, free: 6.047 MB / 462.2 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.03066, allocations: 322 kB / 0.544 GB, free: 5.727 MB / 462.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.03219, allocations: 0.9177 MB / 0.5449 GB, free: 4.805 MB / 462.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.03373, allocations: 0.9525 MB / 0.5459 GB, free: 3.844 MB / 462.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003307/0.03704, allocations: 2.062 MB / 0.5479 GB, free: 1.75 MB / 462.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-06/0.03705, allocations: 0 / 0.5479 GB, free: 1.75 MB / 462.2 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.004076/0.04112, allocations: 2.439 MB / 0.5502 GB, free: 15.27 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.04115, allocations: 4 kB / 0.5502 GB, free: 15.26 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.04116, allocations: 0 / 0.5502 GB, free: 15.26 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/0.04119, allocations: 15.92 kB / 0.5503 GB, free: 15.25 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.04329, allocations: 0.515 MB / 0.5508 GB, free: 14.73 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.803e-05/0.04332, allocations: 12 kB / 0.5508 GB, free: 14.72 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008265/0.04415, allocations: 154.8 kB / 0.5509 GB, free: 14.57 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.04431, allocations: 75.98 kB / 0.551 GB, free: 14.49 MB / 478.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 (284): * Single equations (assignments): 284 * 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.000507/0.04482, allocations: 313.2 kB / 0.5513 GB, free: 14.18 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.04501, allocations: 95.42 kB / 0.5514 GB, free: 14.08 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0048/0.04981, allocations: 2.716 MB / 0.554 GB, free: 11.31 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.211e-05/0.04984, allocations: 28 kB / 0.5541 GB, free: 11.29 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.04985, allocations: 0 / 0.5541 GB, free: 11.29 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.04988, allocations: 11.95 kB / 0.5541 GB, free: 11.27 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.05161, allocations: 1.084 MB / 0.5551 GB, free: 10.16 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.05161, allocations: 0 / 0.5551 GB, free: 10.16 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002929/0.05454, allocations: 0.5891 MB / 0.5557 GB, free: 9.566 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-05/0.05458, allocations: 12 kB / 0.5557 GB, free: 9.555 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/0.0548, allocations: 99.86 kB / 0.5558 GB, free: 9.457 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.604e-05/0.05481, allocations: 8 kB / 0.5558 GB, free: 9.449 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.05481, allocations: 0 / 0.5558 GB, free: 9.449 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005748/0.06056, allocations: 3.62 MB / 0.5594 GB, free: 5.754 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007695/0.06133, allocations: 346.3 kB / 0.5597 GB, free: 5.414 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.06157, allocations: 79.89 kB / 0.5598 GB, free: 5.336 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007237/0.06229, allocations: 48 kB / 0.5598 GB, free: 5.289 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/0.06261, allocations: 173.9 kB / 0.56 GB, free: 5.117 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/0.06276, allocations: 75.97 kB / 0.5601 GB, free: 5.043 MB / 478.2 MB Notification: Performance of sorting global known variables: time 0.0001683/0.06293, allocations: 173.2 kB / 0.5602 GB, free: 4.871 MB / 478.2 MB Notification: Performance of sort global known variables: time 8e-08/0.06293, allocations: 0 / 0.5602 GB, free: 4.871 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.0009588/0.06389, allocations: 451.9 kB / 0.5607 GB, free: 4.43 MB / 478.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (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],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],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],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * 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 (284): * Single equations (assignments): 284 * 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.0004509/0.06434, allocations: 225.3 kB / 0.5609 GB, free: 4.199 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 0.003771/0.06811, allocations: 2.15 MB / 0.563 GB, free: 2.02 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.06812, allocations: 4 kB / 0.563 GB, free: 2.016 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 0.001898/0.07002, allocations: 1.195 MB / 0.5641 GB, free: 0.8164 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008387/0.07086, allocations: 204.4 kB / 0.5643 GB, free: 0.6172 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007083/0.07794, allocations: 4.492 MB / 0.5687 GB, free: 12.08 MB / 494.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005866/0.07853, allocations: 0.5621 MB / 0.5693 GB, free: 11.48 MB / 494.2 MB Notification: Performance of simCode: alias equations: time 0.001818/0.08034, allocations: 0.7395 MB / 0.57 GB, free: 10.74 MB / 494.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006389/0.08098, allocations: 168.4 kB / 0.5701 GB, free: 10.57 MB / 494.2 MB Notification: Performance of SimCode: time 1.112e-06/0.08098, allocations: 0 / 0.5701 GB, free: 10.57 MB / 494.2 MB Notification: Performance of Templates: time 0.03478/0.1158, allocations: 19 MB / 0.5887 GB, free: 7.703 MB / 0.4983 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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: 56.37174092978239]