Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,variableFilter="Qh.1.|Qh.2.|Qh.3.|Qh.5.|Que.1.|Que.2.|Que.3.|Que.5.|Tu.1.|Tu.2.|Tu.3.|Tu.5.|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.Tu.5..|der.x.1..|der.x.2..|der.x.3..|der.x.5..|time|time|u.1.|u.2.|u.3.|u.5.|x.1.|x.2.|x.3.|x.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 176.2 kB / 8.348 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.32/1.32, allocations: 221.5 MB / 230.3 MB, free: 7.543 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.001258/0.001258, allocations: 94.09 kB / 281.2 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9766/0.9766, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.637e-05/1.641e-05, allocations: 4 kB / 0.5295 GB, free: 0.5352 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7517/0.7518, allocations: 82.85 MB / 0.6104 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.922, allocations: 125.2 MB / 0.7327 GB, free: 15.75 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.9223, allocations: 67.95 kB / 0.7327 GB, free: 15.68 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.008952/0.9313, allocations: 2.75 MB / 0.7354 GB, free: 12.93 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9313, allocations: 0 / 0.7354 GB, free: 12.93 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.9314, allocations: 8 kB / 0.7354 GB, free: 12.92 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006792/0.932, allocations: 454.3 kB / 0.7359 GB, free: 12.43 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.9321, allocations: 8.031 kB / 0.7359 GB, free: 12.42 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.9322, allocations: 15.86 kB / 0.7359 GB, free: 12.4 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.9325, allocations: 235 kB / 0.7361 GB, free: 12.13 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.9325, allocations: 4 kB / 0.7361 GB, free: 12.13 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.9326, allocations: 15.89 kB / 0.7361 GB, free: 12.11 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002478/0.9328, allocations: 132.4 kB / 0.7363 GB, free: 11.98 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.9331, allocations: 159.2 kB / 0.7364 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.9331, allocations: 0 / 0.7364 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.9331, allocations: 3.984 kB / 0.7364 GB, free: 11.82 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.9331, allocations: 7.891 kB / 0.7364 GB, free: 11.81 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.9335, allocations: 234.7 kB / 0.7366 GB, free: 11.55 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008994/0.9344, allocations: 340.5 kB / 0.737 GB, free: 11.21 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.9345, allocations: 109.8 kB / 0.7371 GB, free: 11.1 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.9347, allocations: 93.08 kB / 0.7372 GB, free: 10.99 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.9348, allocations: 42.56 kB / 0.7372 GB, free: 10.94 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=28): time 2.044e-06/0.9348, allocations: 0 / 0.7372 GB, free: 10.94 MB / 0.5419 GB Notification: Performance of matching and sorting (n=28): time 0.0007973/0.9356, allocations: 326.4 kB / 0.7375 GB, free: 10.61 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.9356, allocations: 55.41 kB / 0.7376 GB, free: 10.55 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.602e-05/0.9357, allocations: 115 kB / 0.7377 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.9358, allocations: 25.7 kB / 0.7377 GB, free: 10.4 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.9358, allocations: 96.7 kB / 0.7378 GB, free: 10.3 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 9.158e-05/0.9359, allocations: 106.4 kB / 0.7379 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.9359, allocations: 0 / 0.7379 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9361, allocations: 330.8 kB / 0.7382 GB, free: 9.863 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.9362, allocations: 120.6 kB / 0.7383 GB, free: 9.742 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.9364, allocations: 120.9 kB / 0.7384 GB, free: 9.625 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.9369, allocations: 190 kB / 0.7386 GB, free: 9.441 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.9369, allocations: 4 kB / 0.7386 GB, free: 9.438 MB / 0.5419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007441/0.9377, allocations: 393.8 kB / 0.739 GB, free: 9.047 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.9377, allocations: 4 kB / 0.739 GB, free: 9.043 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.9377, allocations: 0 / 0.739 GB, free: 9.043 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.9377, allocations: 0 / 0.739 GB, free: 9.043 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.9381, allocations: 79.89 kB / 0.7391 GB, free: 8.965 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.9381, allocations: 3.938 kB / 0.7391 GB, free: 8.961 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.9383, allocations: 19.75 kB / 0.7391 GB, free: 8.941 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.9383, allocations: 12 kB / 0.7391 GB, free: 8.93 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 (39): * Single equations (assignments): 39 * 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 9.16e-05/0.9384, allocations: 108.9 kB / 0.7392 GB, free: 8.816 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.9384, allocations: 15.81 kB / 0.7392 GB, free: 8.801 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009306/0.9394, allocations: 427.4 kB / 0.7396 GB, free: 8.375 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.9394, allocations: 4 kB / 0.7396 GB, free: 8.371 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.9394, allocations: 0 / 0.7396 GB, free: 8.371 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.9394, allocations: 3.938 kB / 0.7396 GB, free: 8.367 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.9397, allocations: 269.9 kB / 0.7399 GB, free: 8.066 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9397, allocations: 0 / 0.7399 GB, free: 8.066 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.9402, allocations: 91.89 kB / 0.74 GB, free: 7.977 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.9402, allocations: 4 kB / 0.74 GB, free: 7.973 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.9403, allocations: 7.984 kB / 0.74 GB, free: 7.965 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.9403, allocations: 0 / 0.74 GB, free: 7.965 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9403, allocations: 0 / 0.74 GB, free: 7.965 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.9413, allocations: 0.5411 MB / 0.7405 GB, free: 7.402 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.9415, allocations: 128.8 kB / 0.7407 GB, free: 7.258 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.9415, allocations: 7.984 kB / 0.7407 GB, free: 7.25 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.9416, allocations: 4 kB / 0.7407 GB, free: 7.246 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.9417, allocations: 27.91 kB / 0.7407 GB, free: 7.219 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.9417, allocations: 8 kB / 0.7407 GB, free: 7.211 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 8.563e-05/0.9418, allocations: 101 kB / 0.7408 GB, free: 7.113 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9418, allocations: 0 / 0.7408 GB, free: 7.113 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000287/0.9421, allocations: 59.94 kB / 0.7408 GB, free: 7.055 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],x[1],x[2],x[3],x[4],x[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.0002417/0.9424, allocations: 115.2 kB / 0.741 GB, free: 6.934 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.000484/0.9429, allocations: 292.3 kB / 0.7412 GB, free: 6.648 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.9429, allocations: 4 kB / 0.7412 GB, free: 6.645 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.9431, allocations: 152.5 kB / 0.7414 GB, free: 6.496 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.9433, allocations: 19.98 kB / 0.7414 GB, free: 6.477 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.9446, allocations: 0.7967 MB / 0.7422 GB, free: 5.656 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.945, allocations: 0.7525 MB / 0.7429 GB, free: 4.871 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0002485/0.9452, allocations: 93.97 kB / 0.743 GB, free: 4.781 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.9453, allocations: 31.42 kB / 0.743 GB, free: 4.75 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.9453, allocations: 0 / 0.743 GB, free: 4.75 MB / 0.5419 GB Notification: Performance of Templates: time 0.005598/0.9509, allocations: 2.595 MB / 0.7456 GB, free: 2.172 MB / 0.5419 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches