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.001108/0.001108, allocations: 180.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.2 MB / 240.3 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001, allocations: 97.83 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7805/0.7805, allocations: 120.5 MB / 463 MB, free: 8.734 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 8 kB / 0.5446 GB, free: 41.16 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 82.85 MB / 0.6255 GB, free: 7.906 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6629/0.8013, allocations: 125.9 MB / 0.7485 GB, free: 8.391 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.8016, allocations: 62.97 kB / 0.7485 GB, free: 8.359 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01348/0.8151, allocations: 4.072 MB / 0.7525 GB, free: 4.715 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8151, allocations: 0 / 0.7525 GB, free: 4.715 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 2.21e-05/0.8151, allocations: 4 kB / 0.7525 GB, free: 4.711 MB / 0.5107 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.001128/0.8163, allocations: 0.5763 MB / 0.7531 GB, free: 4.098 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.8163, allocations: 8.031 kB / 0.7531 GB, free: 4.09 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.526e-05/0.8164, allocations: 27.67 kB / 0.7531 GB, free: 4.062 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.8169, allocations: 287.3 kB / 0.7534 GB, free: 3.75 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.8169, allocations: 12.12 kB / 0.7534 GB, free: 3.742 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.845e-05/0.817, allocations: 35.28 kB / 0.7534 GB, free: 3.719 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.8176, allocations: 319.8 kB / 0.7537 GB, free: 3.465 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.8176, allocations: 0 / 0.7537 GB, free: 3.465 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.8176, allocations: 7.859 kB / 0.7537 GB, free: 3.461 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.8177, allocations: 15.95 kB / 0.7538 GB, free: 3.445 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.8181, allocations: 290.7 kB / 0.754 GB, free: 3.223 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.8187, allocations: 392.8 kB / 0.7544 GB, free: 2.844 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.8205, allocations: 0.677 MB / 0.7551 GB, free: 2.309 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.8207, allocations: 101.3 kB / 0.7552 GB, free: 2.195 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.8207, allocations: 38.75 kB / 0.7552 GB, free: 2.152 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=53): time 1.724e-06/0.8207, allocations: 4 kB / 0.7552 GB, free: 2.148 MB / 0.5107 GB Notification: Performance of matching and sorting (n=53): time 0.001183/0.8219, allocations: 0.7003 MB / 0.7559 GB, free: 1.594 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.822, allocations: 59.84 kB / 0.756 GB, free: 1.52 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.8221, allocations: 127.9 kB / 0.7561 GB, free: 1.391 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.8222, allocations: 37.39 kB / 0.7561 GB, free: 1.355 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.8222, allocations: 100.7 kB / 0.7562 GB, free: 1.266 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.8224, allocations: 195.7 kB / 0.7564 GB, free: 1.098 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.8224, allocations: 11.56 kB / 0.7564 GB, free: 1.098 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.8226, allocations: 346.3 kB / 0.7567 GB, free: 0.7617 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.823, allocations: 234.5 kB / 0.757 GB, free: 0.5859 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003822/0.8234, allocations: 244.7 kB / 0.7572 GB, free: 416 kB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.8238, allocations: 283.9 kB / 0.7575 GB, free: 220 kB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8238, allocations: 3.938 kB / 0.7575 GB, free: 216 kB / 0.5107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009198/0.8248, allocations: 0.639 MB / 0.7581 GB, free: 15.71 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.8248, allocations: 4 kB / 0.7581 GB, free: 15.71 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.8248, allocations: 0 / 0.7581 GB, free: 15.71 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.8248, allocations: 4 kB / 0.7581 GB, free: 15.7 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000701/0.8255, allocations: 143.7 kB / 0.7582 GB, free: 15.57 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/0.8256, allocations: 11.95 kB / 0.7582 GB, free: 15.55 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.8258, allocations: 43.16 kB / 0.7583 GB, free: 15.52 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.8259, allocations: 21.64 kB / 0.7583 GB, free: 15.51 MB / 0.5263 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 () * Number of clocked 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.0001783/0.826, allocations: 156.8 kB / 0.7585 GB, free: 15.36 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.8261, allocations: 31.53 kB / 0.7585 GB, free: 15.33 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.8273, allocations: 0.7283 MB / 0.7592 GB, free: 14.79 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.8273, allocations: 8 kB / 0.7592 GB, free: 14.79 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8273, allocations: 0 / 0.7592 GB, free: 14.79 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.8273, allocations: 7.938 kB / 0.7592 GB, free: 14.78 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005255/0.8279, allocations: 463 kB / 0.7597 GB, free: 14.34 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.8279, allocations: 7.938 kB / 0.7597 GB, free: 14.34 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009005/0.8288, allocations: 159.7 kB / 0.7598 GB, free: 14.18 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.8288, allocations: 7.938 kB / 0.7598 GB, free: 14.18 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/0.8289, allocations: 22.73 kB / 0.7598 GB, free: 14.16 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.8289, allocations: 7.984 kB / 0.7599 GB, free: 14.16 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8289, allocations: 4 kB / 0.7599 GB, free: 14.15 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.8303, allocations: 0.9587 MB / 0.7608 GB, free: 13.42 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.8306, allocations: 171.7 kB / 0.761 GB, free: 13.24 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/0.8307, allocations: 20.67 kB / 0.761 GB, free: 13.23 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.8309, allocations: 15.69 kB / 0.761 GB, free: 13.22 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/0.831, allocations: 44.53 kB / 0.761 GB, free: 13.18 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.831, allocations: 15.81 kB / 0.761 GB, free: 13.17 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 7.51e-05/0.8311, allocations: 117.5 kB / 0.7612 GB, free: 13.06 MB / 0.5263 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8311, allocations: 0 / 0.7612 GB, free: 13.06 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0003805/0.8315, allocations: 131 kB / 0.7613 GB, free: 12.95 MB / 0.5263 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 () * Number of clocked 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.0002198/0.8317, allocations: 143.2 kB / 0.7614 GB, free: 12.82 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.000868/0.8326, allocations: 0.5708 MB / 0.762 GB, free: 12.37 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8326, allocations: 0 / 0.762 GB, free: 12.37 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0004367/0.833, allocations: 332.5 kB / 0.7623 GB, free: 12.12 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.8333, allocations: 43.28 kB / 0.7623 GB, free: 12.09 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.8358, allocations: 1.784 MB / 0.7641 GB, free: 10.35 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.8362, allocations: 0.817 MB / 0.7649 GB, free: 9.508 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0004399/0.8366, allocations: 179.1 kB / 0.765 GB, free: 9.336 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.8368, allocations: 51.36 kB / 0.7651 GB, free: 9.289 MB / 0.5263 GB Notification: Performance of SimCode: time 7.31e-07/0.8368, allocations: 0 / 0.7651 GB, free: 9.289 MB / 0.5263 GB Notification: Performance of Templates: time 0.009328/0.8462, allocations: 4.663 MB / 0.7697 GB, free: 4.68 MB / 0.5263 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