Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.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_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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.00128, allocations: 92.78 kB / 16.3 MB, free: 5.656 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.001715/0.001716, allocations: 181.9 kB / 17.19 MB, free: 5.59 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.53/1.53, allocations: 223.2 MB / 241.1 MB, free: 244 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.072/1.072, allocations: 120.5 MB / 412.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003395, allocations: 11.98 kB / 0.4955 GB, free: 10.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6294/0.6298, allocations: 82.84 MB / 0.5764 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5): time 0.001253/0.6311, allocations: 1.062 MB / 0.5774 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007301/0.6319, allocations: 493.7 kB / 0.5779 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.6319, allocations: 1.062 kB / 0.5779 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.765e-05/0.632, allocations: 3.938 kB / 0.5779 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.6323, allocations: 47.41 kB / 0.5779 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.745e-05/0.6324, allocations: 33.47 kB / 0.5779 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.6325, allocations: 122.4 kB / 0.5781 GB, free: 41 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.863e-05/0.6326, allocations: 6.906 kB / 0.5781 GB, free: 41 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.6327, allocations: 76.81 kB / 0.5781 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.6329, allocations: 83.14 kB / 0.5782 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.6329, allocations: 8.938 kB / 0.5782 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.633, allocations: 25.42 kB / 0.5783 GB, free: 40.9 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.705e-05/0.6331, allocations: 69.17 kB / 0.5783 GB, free: 40.86 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.6332, allocations: 43.39 kB / 0.5784 GB, free: 40.82 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.6333, allocations: 91.44 kB / 0.5785 GB, free: 40.78 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.6333, allocations: 4 kB / 0.5785 GB, free: 40.77 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.392e-06/0.6333, allocations: 0 / 0.5785 GB, free: 40.77 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.6333, allocations: 0 / 0.5785 GB, free: 40.77 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006791/0.634, allocations: 455.9 kB / 0.5789 GB, free: 40.35 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.6341, allocations: 9.625 kB / 0.5789 GB, free: 40.35 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.6341, allocations: 23.95 kB / 0.5789 GB, free: 40.33 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.6343, allocations: 220.5 kB / 0.5791 GB, free: 40.1 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.6343, allocations: 9.734 kB / 0.5791 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.6344, allocations: 13.62 kB / 0.5792 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.6347, allocations: 169.4 kB / 0.5793 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.6347, allocations: 5.375 kB / 0.5793 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.6347, allocations: 4 kB / 0.5793 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.6347, allocations: 4.125 kB / 0.5793 GB, free: 39.98 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.635, allocations: 148 kB / 0.5795 GB, free: 39.91 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.6353, allocations: 276.5 kB / 0.5797 GB, free: 39.65 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/0.6363, allocations: 351.7 kB / 0.5801 GB, free: 39.5 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.6364, allocations: 95.53 kB / 0.5802 GB, free: 39.39 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.6365, allocations: 36.38 kB / 0.5802 GB, free: 39.35 MB / 462.3 MB Notification: Performance of pre-optimization done (n=28): time 2.565e-06/0.6365, allocations: 0 / 0.5802 GB, free: 39.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=28): time 0.0006529/0.6371, allocations: 379.1 kB / 0.5806 GB, free: 39.17 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.6372, allocations: 58.14 kB / 0.5806 GB, free: 39.11 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.6373, allocations: 140.6 kB / 0.5807 GB, free: 38.98 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.6373, allocations: 29.7 kB / 0.5808 GB, free: 38.95 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.6373, allocations: 91.27 kB / 0.5809 GB, free: 38.86 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.417e-05/0.6374, allocations: 118 kB / 0.581 GB, free: 38.75 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.6374, allocations: 4 kB / 0.581 GB, free: 38.75 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.441e-05/0.6375, allocations: 328.9 kB / 0.5813 GB, free: 38.43 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.6377, allocations: 117.9 kB / 0.5814 GB, free: 38.37 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.6378, allocations: 129.1 kB / 0.5815 GB, free: 38.31 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.6381, allocations: 139.8 kB / 0.5817 GB, free: 38.25 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.6381, allocations: 4 kB / 0.5817 GB, free: 38.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004728/0.6385, allocations: 358.4 kB / 0.582 GB, free: 38.07 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.6386, allocations: 11.31 kB / 0.582 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.6386, allocations: 1.25 kB / 0.582 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.6386, allocations: 1.281 kB / 0.582 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.6389, allocations: 79.14 kB / 0.5821 GB, free: 38.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.6389, allocations: 5.266 kB / 0.5821 GB, free: 38.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.639, allocations: 23.56 kB / 0.5821 GB, free: 38.03 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.6391, allocations: 11.52 kB / 0.5821 GB, free: 38.02 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 (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.239e-05/0.6392, allocations: 137.1 kB / 0.5823 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.6392, allocations: 19.38 kB / 0.5823 GB, free: 37.88 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006283/0.6398, allocations: 389 kB / 0.5827 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.6398, allocations: 9.062 kB / 0.5827 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6399, allocations: 0 / 0.5827 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.6399, allocations: 7.922 kB / 0.5827 GB, free: 37.65 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.6401, allocations: 322.4 kB / 0.583 GB, free: 37.36 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6402, allocations: 0 / 0.583 GB, free: 37.36 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/0.6406, allocations: 83.12 kB / 0.5831 GB, free: 37.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.6406, allocations: 1.844 kB / 0.5831 GB, free: 37.34 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.6406, allocations: 17.52 kB / 0.5831 GB, free: 37.33 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.6407, allocations: 1.844 kB / 0.5831 GB, free: 37.33 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6407, allocations: 0 / 0.5831 GB, free: 37.33 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000936/0.6416, allocations: 0.5211 MB / 0.5836 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.6418, allocations: 125.1 kB / 0.5837 GB, free: 36.93 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.6418, allocations: 8.594 kB / 0.5837 GB, free: 36.93 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.6419, allocations: 8.891 kB / 0.5837 GB, free: 36.92 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.642, allocations: 27.91 kB / 0.5837 GB, free: 36.91 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.642, allocations: 12.16 kB / 0.5838 GB, free: 36.9 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6e-05/0.6421, allocations: 96.92 kB / 0.5839 GB, free: 36.82 MB / 462.3 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6421, allocations: 0 / 0.5839 GB, free: 36.82 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003332/0.6424, allocations: 80.55 kB / 0.5839 GB, free: 36.8 MB / 462.3 MB 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 () * Number of clocked 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.0001824/0.6426, allocations: 112.3 kB / 0.584 GB, free: 36.7 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004886/0.6431, allocations: 308 kB / 0.5843 GB, free: 36.57 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6431, allocations: 1.281 kB / 0.5843 GB, free: 36.57 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.6434, allocations: 163.5 kB / 0.5845 GB, free: 36.51 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.6436, allocations: 28.03 kB / 0.5845 GB, free: 36.5 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.6448, allocations: 1.001 MB / 0.5855 GB, free: 35.74 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.645, allocations: 0.7541 MB / 0.5862 GB, free: 35.02 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.6452, allocations: 87.33 kB / 0.5863 GB, free: 34.98 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.785e-05/0.6453, allocations: 37.2 kB / 0.5863 GB, free: 34.97 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.6453, allocations: 0.75 kB / 0.5863 GB, free: 34.97 MB / 462.3 MB Notification: Performance of Templates: time 0.005166/0.6505, allocations: 2.679 MB / 0.589 GB, free: 32.96 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.makefile Environment - environmentSimulation: (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches