Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001256, allocations: 107.5 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241.7 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8687/0.8687, allocations: 119.3 MB / 411.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 0.4922 GB, free: 12.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4601, allocations: 80.68 MB / 0.571 GB, free: 43.88 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002126/0.4622, allocations: 1.463 MB / 0.5724 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007477/0.463, allocations: 0.5051 MB / 0.5729 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.463, allocations: 0 / 0.5729 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.399e-05/0.4631, allocations: 16.92 kB / 0.5729 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.4634, allocations: 47.05 kB / 0.573 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.857e-05/0.4635, allocations: 32.78 kB / 0.573 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.4637, allocations: 357.3 kB / 0.5734 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.4638, allocations: 8.406 kB / 0.5734 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.4639, allocations: 111.8 kB / 0.5735 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.4642, allocations: 168.7 kB / 0.5736 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.859e-05/0.4642, allocations: 19.22 kB / 0.5737 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.4643, allocations: 45.55 kB / 0.5737 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.4645, allocations: 121.1 kB / 0.5738 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.4646, allocations: 127 kB / 0.5739 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.4648, allocations: 158.3 kB / 0.5741 GB, free: 41.67 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4648, allocations: 0 / 0.5741 GB, free: 41.67 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4648, allocations: 5.406 kB / 0.5741 GB, free: 41.67 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.4648, allocations: 0 / 0.5741 GB, free: 41.67 MB / 462.3 MB 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.001023/0.4658, allocations: 0.5761 MB / 0.5747 GB, free: 41.18 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.4659, allocations: 12.55 kB / 0.5747 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.665e-05/0.466, allocations: 25.59 kB / 0.5747 GB, free: 41.16 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.4662, allocations: 246.9 kB / 0.5749 GB, free: 40.92 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4662, allocations: 16.69 kB / 0.5749 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.4663, allocations: 32.59 kB / 0.575 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.4668, allocations: 316.6 kB / 0.5753 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4668, allocations: 9.203 kB / 0.5753 GB, free: 40.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.4668, allocations: 9.438 kB / 0.5753 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4668, allocations: 5.375 kB / 0.5753 GB, free: 40.69 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.4673, allocations: 291.6 kB / 0.5756 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.4677, allocations: 392.9 kB / 0.576 GB, free: 40.25 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.4693, allocations: 0.6819 MB / 0.5766 GB, free: 39.94 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003076/0.4696, allocations: 234.2 kB / 0.5768 GB, free: 39.83 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.4698, allocations: 99.36 kB / 0.5769 GB, free: 39.73 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.4698, allocations: 46.12 kB / 0.577 GB, free: 39.68 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.603e-06/0.4699, allocations: 0 / 0.577 GB, free: 39.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001105/0.471, allocations: 0.6907 MB / 0.5777 GB, free: 39.35 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.471, allocations: 57.34 kB / 0.5777 GB, free: 39.28 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.4711, allocations: 149.1 kB / 0.5779 GB, free: 39.15 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.4711, allocations: 36.48 kB / 0.5779 GB, free: 39.11 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.4712, allocations: 104.8 kB / 0.578 GB, free: 39.01 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.4713, allocations: 201.9 kB / 0.5782 GB, free: 38.83 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.4715, allocations: 106.3 kB / 0.5783 GB, free: 38.77 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.217e-05/0.4715, allocations: 344 kB / 0.5786 GB, free: 38.43 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.4719, allocations: 237 kB / 0.5788 GB, free: 38.33 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.4723, allocations: 250.5 kB / 0.5791 GB, free: 38.21 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007265/0.473, allocations: 0.5337 MB / 0.5796 GB, free: 37.97 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.473, allocations: 0 / 0.5796 GB, free: 37.97 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008785/0.4739, allocations: 0.6449 MB / 0.5802 GB, free: 37.66 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4739, allocations: 6.312 kB / 0.5802 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4739, allocations: 0 / 0.5802 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.474, allocations: 2.531 kB / 0.5802 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.4745, allocations: 138.9 kB / 0.5804 GB, free: 37.64 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4745, allocations: 6.469 kB / 0.5804 GB, free: 37.63 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.4747, allocations: 39.09 kB / 0.5804 GB, free: 37.6 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.4748, allocations: 21.86 kB / 0.5804 GB, free: 37.59 MB / 462.3 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 (74): * Single equations (assignments): 74 * 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.0001317/0.4749, allocations: 158.5 kB / 0.5806 GB, free: 37.45 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.475, allocations: 32.34 kB / 0.5806 GB, free: 37.43 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.476, allocations: 0.7242 MB / 0.5813 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.4761, allocations: 7.156 kB / 0.5813 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4761, allocations: 3.938 kB / 0.5813 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4761, allocations: 3.984 kB / 0.5813 GB, free: 37.04 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.4765, allocations: 459.1 kB / 0.5818 GB, free: 36.67 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4765, allocations: 5.25 kB / 0.5818 GB, free: 36.67 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007429/0.4773, allocations: 153.7 kB / 0.5819 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4773, allocations: 6.75 kB / 0.5819 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.4774, allocations: 27.08 kB / 0.582 GB, free: 36.62 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.4774, allocations: 5.828 kB / 0.582 GB, free: 36.62 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4774, allocations: 4.844 kB / 0.582 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.4786, allocations: 0.9629 MB / 0.5829 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.4788, allocations: 174.3 kB / 0.5831 GB, free: 35.99 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.15e-05/0.4789, allocations: 19.7 kB / 0.5831 GB, free: 35.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.4791, allocations: 14.78 kB / 0.5831 GB, free: 35.97 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.4792, allocations: 50.33 kB / 0.5832 GB, free: 35.94 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.4792, allocations: 22.66 kB / 0.5832 GB, free: 35.93 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.398e-05/0.4793, allocations: 112.4 kB / 0.5833 GB, free: 35.84 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4793, allocations: 0 / 0.5833 GB, free: 35.84 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003546/0.4796, allocations: 122.5 kB / 0.5834 GB, free: 35.82 MB / 462.3 MB 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 (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.0001585/0.4798, allocations: 138.5 kB / 0.5835 GB, free: 35.71 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008088/0.4806, allocations: 0.5851 MB / 0.5841 GB, free: 35.47 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4806, allocations: 0 / 0.5841 GB, free: 35.47 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.481, allocations: 332.5 kB / 0.5844 GB, free: 35.34 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.4814, allocations: 63.22 kB / 0.5845 GB, free: 35.3 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.4833, allocations: 1.646 MB / 0.5861 GB, free: 33.89 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.4835, allocations: 0.8093 MB / 0.5869 GB, free: 33.05 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.4836, allocations: 51.42 kB / 0.5869 GB, free: 33 MB / 462.3 MB Notification: Performance of SimCode: time 4.61e-07/0.4836, allocations: 3.938 kB / 0.5869 GB, free: 33 MB / 462.3 MB Notification: Performance of Templates: time 0.005621/0.4893, allocations: 5.091 MB / 0.5919 GB, free: 27.92 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches