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.001878/0.001878, allocations: 176.5 kB / 8.349 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.657/1.657, allocations: 221.5 MB / 230.3 MB, free: 7.52 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.001027/0.001026, allocations: 90.23 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.289/1.289, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.597e-05/1.6e-05, allocations: 0 / 0.5295 GB, free: 0.5273 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7464, allocations: 82.84 MB / 0.6104 GB, free: 13.03 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1717/0.9181, allocations: 125.2 MB / 0.7327 GB, free: 15.72 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.9184, allocations: 67.91 kB / 0.7327 GB, free: 15.66 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01306/0.9315, allocations: 4.057 MB / 0.7367 GB, free: 11.59 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9315, allocations: 0 / 0.7367 GB, free: 11.59 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.273e-05/0.9316, allocations: 4 kB / 0.7367 GB, free: 11.59 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.0009432/0.9325, allocations: 0.549 MB / 0.7372 GB, free: 10.99 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.9326, allocations: 8.031 kB / 0.7372 GB, free: 10.98 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.439e-05/0.9327, allocations: 35.66 kB / 0.7373 GB, free: 10.95 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.9331, allocations: 295.5 kB / 0.7376 GB, free: 10.62 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.9331, allocations: 4 kB / 0.7376 GB, free: 10.61 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.9332, allocations: 27.89 kB / 0.7376 GB, free: 10.59 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004386/0.9336, allocations: 268.7 kB / 0.7378 GB, free: 10.32 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.9341, allocations: 278.2 kB / 0.7381 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.9341, allocations: 4 kB / 0.7381 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.9342, allocations: 0 / 0.7381 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.9342, allocations: 7.953 kB / 0.7381 GB, free: 10.04 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.9347, allocations: 346.9 kB / 0.7384 GB, free: 9.66 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.9364, allocations: 0.6499 MB / 0.7391 GB, free: 9.004 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.9367, allocations: 214.1 kB / 0.7393 GB, free: 8.789 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.9369, allocations: 97.52 kB / 0.7394 GB, free: 8.676 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.9369, allocations: 35 kB / 0.7394 GB, free: 8.629 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=53): time 1.653e-06/0.9369, allocations: 0 / 0.7394 GB, free: 8.629 MB / 0.5419 GB Notification: Performance of matching and sorting (n=53): time 0.001344/0.9383, allocations: 0.5754 MB / 0.74 GB, free: 8.043 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.9383, allocations: 55.84 kB / 0.74 GB, free: 7.977 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.9385, allocations: 130.3 kB / 0.7402 GB, free: 7.84 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.9385, allocations: 25.7 kB / 0.7402 GB, free: 7.809 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.9386, allocations: 101.4 kB / 0.7403 GB, free: 7.707 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.9388, allocations: 197 kB / 0.7405 GB, free: 7.512 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.9388, allocations: 0 / 0.7405 GB, free: 7.512 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.939, allocations: 354.8 kB / 0.7408 GB, free: 7.156 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.9393, allocations: 229.4 kB / 0.741 GB, free: 6.934 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.9396, allocations: 229.3 kB / 0.7412 GB, free: 6.707 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009508/0.9406, allocations: 380.2 kB / 0.7416 GB, free: 6.336 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.9406, allocations: 0 / 0.7416 GB, free: 6.336 MB / 0.5419 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001406/0.942, allocations: 0.7184 MB / 0.7423 GB, free: 5.613 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.942, allocations: 9.391 kB / 0.7423 GB, free: 5.605 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.942, allocations: 0 / 0.7423 GB, free: 5.605 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.9421, allocations: 4 kB / 0.7423 GB, free: 5.602 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007178/0.9428, allocations: 143.8 kB / 0.7425 GB, free: 5.461 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.9428, allocations: 4 kB / 0.7425 GB, free: 5.457 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.943, allocations: 23.59 kB / 0.7425 GB, free: 5.434 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.9431, allocations: 27.98 kB / 0.7425 GB, free: 5.406 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.0001242/0.9432, allocations: 112.8 kB / 0.7426 GB, free: 5.289 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.9433, allocations: 23.72 kB / 0.7426 GB, free: 5.266 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.9449, allocations: 0.7776 MB / 0.7434 GB, free: 4.477 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.9449, allocations: 4 kB / 0.7434 GB, free: 4.473 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.9449, allocations: 4 kB / 0.7434 GB, free: 4.469 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.945, allocations: 3.984 kB / 0.7434 GB, free: 4.465 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004943/0.9455, allocations: 402.2 kB / 0.7438 GB, free: 4.035 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9455, allocations: 3.938 kB / 0.7438 GB, free: 4.031 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009037/0.9464, allocations: 167.8 kB / 0.744 GB, free: 3.867 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.9464, allocations: 7.984 kB / 0.744 GB, free: 3.859 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.9465, allocations: 23.98 kB / 0.744 GB, free: 3.836 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.9465, allocations: 0 / 0.744 GB, free: 3.836 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.9465, allocations: 0 / 0.744 GB, free: 3.836 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.9483, allocations: 1.002 MB / 0.745 GB, free: 2.816 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.9485, allocations: 168.5 kB / 0.7451 GB, free: 2.633 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.9486, allocations: 7.984 kB / 0.7451 GB, free: 2.625 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.9488, allocations: 3.938 kB / 0.7451 GB, free: 2.621 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.9488, allocations: 48.72 kB / 0.7452 GB, free: 2.574 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.9489, allocations: 16 kB / 0.7452 GB, free: 2.559 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 8.088e-05/0.949, allocations: 112.4 kB / 0.7453 GB, free: 2.449 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.41e-07/0.949, allocations: 0 / 0.7453 GB, free: 2.449 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003738/0.9493, allocations: 103.9 kB / 0.7454 GB, free: 2.348 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.0002104/0.9496, allocations: 127.1 kB / 0.7455 GB, free: 2.215 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0008083/0.9504, allocations: 0.5478 MB / 0.7461 GB, free: 1.664 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9504, allocations: 0 / 0.7461 GB, free: 1.664 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.9508, allocations: 302.8 kB / 0.7463 GB, free: 1.371 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.9511, allocations: 42.56 kB / 0.7464 GB, free: 1.332 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6753/1.626, allocations: 1.427 MB / 0.7478 GB, free: 135.7 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/1.627, allocations: 0.8149 MB / 0.7486 GB, free: 135 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0006369/1.627, allocations: 182 kB / 0.7488 GB, free: 135 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/1.628, allocations: 51.64 kB / 0.7488 GB, free: 135 MB / 0.5421 GB Notification: Performance of SimCode: time 1.332e-06/1.628, allocations: 0 / 0.7488 GB, free: 135 MB / 0.5421 GB Notification: Performance of Templates: time 0.009762/1.637, allocations: 4.584 MB / 0.7533 GB, free: 134.8 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/jenkins1/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