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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 108.4 kB / 16.51 MB, free: 6.707 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.001764/0.001764, allocations: 193.9 kB / 17.43 MB, free: 6.062 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.353/1.353, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8997/0.8997, allocations: 119.3 MB / 410.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 55.91 kB / 0.4916 GB, free: 12.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5169/0.5187, allocations: 80.69 MB / 0.5704 GB, free: 43.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002069/0.5208, allocations: 1.442 MB / 0.5718 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007177/0.5216, allocations: 0.5162 MB / 0.5723 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.5216, allocations: 0 / 0.5723 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.016e-05/0.5217, allocations: 5.5 kB / 0.5723 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.522, allocations: 58.09 kB / 0.5724 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.91e-05/0.522, allocations: 33.33 kB / 0.5724 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.5223, allocations: 352.6 kB / 0.5727 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.5224, allocations: 4.25 kB / 0.5727 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.5225, allocations: 119.4 kB / 0.5728 GB, free: 42.09 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.5227, allocations: 168.1 kB / 0.573 GB, free: 42 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.879e-05/0.5228, allocations: 15.69 kB / 0.573 GB, free: 42 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.5229, allocations: 38.45 kB / 0.5731 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.523, allocations: 128.3 kB / 0.5732 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.5232, allocations: 127.2 kB / 0.5733 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.5234, allocations: 233.4 kB / 0.5735 GB, free: 41.7 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5234, allocations: 0 / 0.5735 GB, free: 41.7 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.32e-07/0.5234, allocations: 0 / 0.5735 GB, free: 41.7 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.5235, allocations: 1.469 kB / 0.5735 GB, free: 41.7 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.001029/0.5245, allocations: 0.5826 MB / 0.5741 GB, free: 41.2 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.5245, allocations: 9.438 kB / 0.5741 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.564e-05/0.5246, allocations: 26.03 kB / 0.5741 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.5249, allocations: 257.6 kB / 0.5744 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.5249, allocations: 13.16 kB / 0.5744 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.5249, allocations: 37.3 kB / 0.5744 GB, free: 40.91 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.5254, allocations: 312.7 kB / 0.5747 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.5254, allocations: 7.922 kB / 0.5747 GB, free: 40.72 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.5255, allocations: 10.19 kB / 0.5747 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.5255, allocations: 5.625 kB / 0.5747 GB, free: 40.71 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000418/0.5259, allocations: 287 kB / 0.575 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.5263, allocations: 397.2 kB / 0.5754 GB, free: 40.27 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.5279, allocations: 0.6865 MB / 0.5761 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.5282, allocations: 229.9 kB / 0.5763 GB, free: 39.84 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.5284, allocations: 98.33 kB / 0.5764 GB, free: 39.74 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.5284, allocations: 41.31 kB / 0.5764 GB, free: 39.69 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.753e-06/0.5284, allocations: 1.219 kB / 0.5764 GB, free: 39.69 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001073/0.5295, allocations: 0.6946 MB / 0.5771 GB, free: 39.37 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.5295, allocations: 61.36 kB / 0.5772 GB, free: 39.3 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.65e-05/0.5296, allocations: 145.2 kB / 0.5773 GB, free: 39.17 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.5297, allocations: 32.48 kB / 0.5773 GB, free: 39.13 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.5297, allocations: 100.8 kB / 0.5774 GB, free: 39.04 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.5298, allocations: 205.9 kB / 0.5776 GB, free: 38.86 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.53, allocations: 114.3 kB / 0.5777 GB, free: 38.78 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.352e-05/0.53, allocations: 340 kB / 0.578 GB, free: 38.45 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.5304, allocations: 236.9 kB / 0.5783 GB, free: 38.35 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.5307, allocations: 246.5 kB / 0.5785 GB, free: 38.24 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006981/0.5314, allocations: 0.5279 MB / 0.579 GB, free: 38 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5314, allocations: 0 / 0.579 GB, free: 38 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008723/0.5323, allocations: 0.6471 MB / 0.5797 GB, free: 37.69 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.5323, allocations: 4.969 kB / 0.5797 GB, free: 37.69 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5324, allocations: 5.281 kB / 0.5797 GB, free: 37.69 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.5324, allocations: 6.5 kB / 0.5797 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/0.533, allocations: 138.9 kB / 0.5798 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.533, allocations: 10.45 kB / 0.5798 GB, free: 37.65 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.5332, allocations: 43.09 kB / 0.5799 GB, free: 37.61 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.5332, allocations: 17.88 kB / 0.5799 GB, free: 37.61 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.0001242/0.5333, allocations: 154 kB / 0.58 GB, free: 37.47 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.5334, allocations: 25.59 kB / 0.58 GB, free: 37.46 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.5345, allocations: 0.7301 MB / 0.5808 GB, free: 37.06 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.5345, allocations: 11.58 kB / 0.5808 GB, free: 37.06 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.5345, allocations: 9.125 kB / 0.5808 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.5345, allocations: 0 / 0.5808 GB, free: 37.05 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.535, allocations: 458.4 kB / 0.5812 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.535, allocations: 0.9375 kB / 0.5812 GB, free: 36.69 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007694/0.5358, allocations: 158.1 kB / 0.5814 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.5358, allocations: 3.344 kB / 0.5814 GB, free: 36.66 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.5359, allocations: 29.84 kB / 0.5814 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.5359, allocations: 3.188 kB / 0.5814 GB, free: 36.64 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5359, allocations: 3.938 kB / 0.5814 GB, free: 36.63 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.5372, allocations: 0.9589 MB / 0.5823 GB, free: 36.17 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.5373, allocations: 174.8 kB / 0.5825 GB, free: 36.02 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.327e-05/0.5374, allocations: 23.52 kB / 0.5825 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.5376, allocations: 14.28 kB / 0.5825 GB, free: 35.99 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.5377, allocations: 42.81 kB / 0.5826 GB, free: 35.97 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.5377, allocations: 30.92 kB / 0.5826 GB, free: 35.95 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.782e-05/0.5378, allocations: 107.7 kB / 0.5827 GB, free: 35.87 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5378, allocations: 0 / 0.5827 GB, free: 35.87 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003616/0.5382, allocations: 123.5 kB / 0.5828 GB, free: 35.85 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.0001634/0.5383, allocations: 139.8 kB / 0.583 GB, free: 35.73 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008067/0.5391, allocations: 0.5764 MB / 0.5835 GB, free: 35.5 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5392, allocations: 5.188 kB / 0.5835 GB, free: 35.49 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003998/0.5396, allocations: 327.2 kB / 0.5838 GB, free: 35.36 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.5399, allocations: 61.31 kB / 0.5839 GB, free: 35.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.5417, allocations: 1.628 MB / 0.5855 GB, free: 33.87 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.5419, allocations: 0.8015 MB / 0.5863 GB, free: 33.04 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003324/0.5422, allocations: 179.1 kB / 0.5865 GB, free: 32.87 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.5424, allocations: 47.42 kB / 0.5865 GB, free: 32.82 MB / 462.3 MB Notification: Performance of SimCode: time 2.5e-07/0.5424, allocations: 4 kB / 0.5865 GB, free: 32.82 MB / 462.3 MB Notification: Performance of Templates: time 0.007089/0.5495, allocations: 4.937 MB / 0.5913 GB, free: 27.93 MB / 462.3 MB 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