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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 175.8 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008997/0.0008997, allocations: 94.05 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9855/0.9855, allocations: 120.5 MB / 452.4 MB, free: 10.52 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.525e-05, allocations: 4 kB / 0.5295 GB, free: 0.5508 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6143/0.6143, allocations: 82.84 MB / 0.6104 GB, free: 13.06 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.7738, allocations: 125.2 MB / 0.7327 GB, free: 15.75 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.7741, allocations: 67.91 kB / 0.7327 GB, free: 15.68 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01228/0.7864, allocations: 4.053 MB / 0.7367 GB, free: 11.62 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7864, allocations: 0 / 0.7367 GB, free: 11.62 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.7865, allocations: 8 kB / 0.7367 GB, free: 11.61 MB / 0.5419 GB 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.0008678/0.7873, allocations: 0.549 MB / 0.7372 GB, free: 11.02 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.7874, allocations: 8.031 kB / 0.7372 GB, free: 11.01 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.7875, allocations: 31.67 kB / 0.7373 GB, free: 10.98 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.7879, allocations: 283.6 kB / 0.7375 GB, free: 10.66 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.7879, allocations: 4 kB / 0.7375 GB, free: 10.66 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.788, allocations: 31.91 kB / 0.7376 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004133/0.7884, allocations: 276.6 kB / 0.7378 GB, free: 10.36 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.7888, allocations: 278.2 kB / 0.7381 GB, free: 10.08 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.7888, allocations: 0 / 0.7381 GB, free: 10.08 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.7889, allocations: 4 kB / 0.7381 GB, free: 10.07 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.7889, allocations: 7.953 kB / 0.7381 GB, free: 10.07 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.7893, allocations: 346.9 kB / 0.7385 GB, free: 9.691 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.7908, allocations: 0.6416 MB / 0.7391 GB, free: 9.043 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.7911, allocations: 214 kB / 0.7393 GB, free: 8.828 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.7913, allocations: 97.52 kB / 0.7394 GB, free: 8.715 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.7913, allocations: 39 kB / 0.7394 GB, free: 8.664 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=53): time 1.623e-06/0.7913, allocations: 0 / 0.7394 GB, free: 8.664 MB / 0.5419 GB Notification: Performance of matching and sorting (n=53): time 0.001305/0.7927, allocations: 0.5759 MB / 0.74 GB, free: 8.078 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.7927, allocations: 59.84 kB / 0.74 GB, free: 8.008 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.7928, allocations: 128.6 kB / 0.7402 GB, free: 7.871 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.7929, allocations: 25.7 kB / 0.7402 GB, free: 7.84 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.793, allocations: 97.44 kB / 0.7403 GB, free: 7.742 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.7931, allocations: 201 kB / 0.7405 GB, free: 7.543 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.7932, allocations: 0 / 0.7405 GB, free: 7.543 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.7933, allocations: 350.8 kB / 0.7408 GB, free: 7.191 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.7937, allocations: 229.4 kB / 0.741 GB, free: 6.969 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.794, allocations: 229.3 kB / 0.7412 GB, free: 6.742 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008958/0.7949, allocations: 384.2 kB / 0.7416 GB, free: 6.367 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.7949, allocations: 0 / 0.7416 GB, free: 6.367 MB / 0.5419 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00148/0.7964, allocations: 0.7145 MB / 0.7423 GB, free: 5.648 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.7964, allocations: 4 kB / 0.7423 GB, free: 5.645 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.7964, allocations: 3.984 kB / 0.7423 GB, free: 5.641 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.7965, allocations: 4 kB / 0.7423 GB, free: 5.637 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/0.7972, allocations: 143.8 kB / 0.7424 GB, free: 5.496 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.7972, allocations: 4 kB / 0.7425 GB, free: 5.492 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.7974, allocations: 23.59 kB / 0.7425 GB, free: 5.469 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.7974, allocations: 20 kB / 0.7425 GB, free: 5.449 MB / 0.5419 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.7976, allocations: 120.8 kB / 0.7426 GB, free: 5.324 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.7976, allocations: 23.72 kB / 0.7426 GB, free: 5.301 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.7992, allocations: 0.7736 MB / 0.7434 GB, free: 4.516 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.7992, allocations: 7.984 kB / 0.7434 GB, free: 4.508 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7992, allocations: 4 kB / 0.7434 GB, free: 4.504 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.7992, allocations: 3.984 kB / 0.7434 GB, free: 4.5 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.7997, allocations: 402.2 kB / 0.7438 GB, free: 4.07 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.7997, allocations: 3.938 kB / 0.7438 GB, free: 4.066 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008758/0.8006, allocations: 159.9 kB / 0.7439 GB, free: 3.91 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.8006, allocations: 11.97 kB / 0.744 GB, free: 3.898 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-05/0.8007, allocations: 15.98 kB / 0.744 GB, free: 3.883 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8007, allocations: 7.938 kB / 0.744 GB, free: 3.875 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.8007, allocations: 3.984 kB / 0.744 GB, free: 3.871 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.8026, allocations: 1.002 MB / 0.745 GB, free: 2.852 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.8028, allocations: 168.5 kB / 0.7451 GB, free: 2.668 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/0.8028, allocations: 11.98 kB / 0.7451 GB, free: 2.656 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.803, allocations: 0 / 0.7451 GB, free: 2.656 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.8031, allocations: 44.72 kB / 0.7452 GB, free: 2.613 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.8032, allocations: 27.94 kB / 0.7452 GB, free: 2.586 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 8.026e-05/0.8032, allocations: 111.2 kB / 0.7453 GB, free: 2.48 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8033, allocations: 4 kB / 0.7453 GB, free: 2.477 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003511/0.8036, allocations: 103.9 kB / 0.7454 GB, free: 2.375 MB / 0.5419 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002386/0.8039, allocations: 129.5 kB / 0.7455 GB, free: 2.242 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0007729/0.8046, allocations: 0.5478 MB / 0.7461 GB, free: 1.691 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8046, allocations: 0 / 0.7461 GB, free: 1.691 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.8051, allocations: 306.8 kB / 0.7464 GB, free: 1.395 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.8054, allocations: 38.56 kB / 0.7464 GB, free: 1.359 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6093/1.415, allocations: 1.422 MB / 0.7478 GB, free: 135.7 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/1.415, allocations: 0.817 MB / 0.7486 GB, free: 135 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0005994/1.416, allocations: 185.6 kB / 0.7488 GB, free: 135 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/1.416, allocations: 50.45 kB / 0.7488 GB, free: 135 MB / 0.5421 GB Notification: Performance of SimCode: time 8.81e-07/1.416, allocations: 0.9062 kB / 0.7488 GB, free: 135 MB / 0.5421 GB Notification: Performance of Templates: time 0.00965/1.426, allocations: 4.559 MB / 0.7533 GB, free: 134.9 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches