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.001146/0.001146, allocations: 108.1 kB / 16.92 MB, free: 5.785 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.001208/0.001208, allocations: 191.3 kB / 17.85 MB, free: 5.16 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.187/1.187, allocations: 222.9 MB / 241.5 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7904/0.7904, allocations: 119.3 MB / 411 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.91 kB / 0.4923 GB, free: 12.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4267, allocations: 80.68 MB / 0.5711 GB, free: 43.74 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.00181/0.4286, allocations: 1.385 MB / 0.5724 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006033/0.4292, allocations: 0.5172 MB / 0.573 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.4292, allocations: 0 / 0.573 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.709e-05/0.4293, allocations: 5.062 kB / 0.573 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.4296, allocations: 58.78 kB / 0.573 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.893e-05/0.4297, allocations: 38.33 kB / 0.573 GB, free: 42.16 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.4299, allocations: 315.6 kB / 0.5733 GB, free: 42 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.4299, allocations: 13.88 kB / 0.5734 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.43, allocations: 119.4 kB / 0.5735 GB, free: 41.94 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.4302, allocations: 153.4 kB / 0.5736 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.4303, allocations: 15.12 kB / 0.5736 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.4304, allocations: 38.22 kB / 0.5737 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.4305, allocations: 128.2 kB / 0.5738 GB, free: 41.76 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.4306, allocations: 131.5 kB / 0.5739 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.4308, allocations: 235.3 kB / 0.5741 GB, free: 41.55 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4308, allocations: 0 / 0.5741 GB, free: 41.55 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4308, allocations: 0 / 0.5741 GB, free: 41.55 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.4308, allocations: 1.312 kB / 0.5741 GB, free: 41.55 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.000889/0.4317, allocations: 0.5792 MB / 0.5747 GB, free: 41.05 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.4318, allocations: 17.95 kB / 0.5747 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.4318, allocations: 25 kB / 0.5748 GB, free: 41.03 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.432, allocations: 253.2 kB / 0.575 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.4321, allocations: 13.41 kB / 0.575 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.4321, allocations: 33 kB / 0.575 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.4325, allocations: 315.8 kB / 0.5753 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.4325, allocations: 1.188 kB / 0.5753 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.4326, allocations: 9.125 kB / 0.5754 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.4326, allocations: 5.844 kB / 0.5754 GB, free: 40.57 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.433, allocations: 287.4 kB / 0.5756 GB, free: 40.45 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.4333, allocations: 408.7 kB / 0.576 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.4347, allocations: 0.6763 MB / 0.5767 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.435, allocations: 237 kB / 0.5769 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.4352, allocations: 95.44 kB / 0.577 GB, free: 39.59 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.4352, allocations: 41.53 kB / 0.577 GB, free: 39.54 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.483e-06/0.4352, allocations: 0 / 0.577 GB, free: 39.54 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.0009738/0.4362, allocations: 0.695 MB / 0.5777 GB, free: 39.22 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.4362, allocations: 61.41 kB / 0.5778 GB, free: 39.15 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.4363, allocations: 150.1 kB / 0.5779 GB, free: 39.02 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.4363, allocations: 31.55 kB / 0.5779 GB, free: 38.98 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.792e-05/0.4364, allocations: 96.83 kB / 0.578 GB, free: 38.89 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.4365, allocations: 214.8 kB / 0.5782 GB, free: 38.7 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.4366, allocations: 106.3 kB / 0.5783 GB, free: 38.63 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.953e-05/0.4367, allocations: 340 kB / 0.5787 GB, free: 38.3 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.4371, allocations: 240.3 kB / 0.5789 GB, free: 38.2 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.4374, allocations: 247.8 kB / 0.5791 GB, free: 38.09 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007061/0.4381, allocations: 0.5307 MB / 0.5797 GB, free: 37.84 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4382, allocations: 0 / 0.5797 GB, free: 37.84 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000874/0.439, allocations: 0.6438 MB / 0.5803 GB, free: 37.54 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.4391, allocations: 9.016 kB / 0.5803 GB, free: 37.53 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4391, allocations: 0 / 0.5803 GB, free: 37.53 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4391, allocations: 3.812 kB / 0.5803 GB, free: 37.53 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.4396, allocations: 138.2 kB / 0.5804 GB, free: 37.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.4396, allocations: 6.469 kB / 0.5804 GB, free: 37.5 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.4398, allocations: 43.12 kB / 0.5805 GB, free: 37.46 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.4398, allocations: 21.88 kB / 0.5805 GB, free: 37.46 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.0001228/0.44, allocations: 165.9 kB / 0.5807 GB, free: 37.3 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.44, allocations: 25.59 kB / 0.5807 GB, free: 37.29 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009884/0.441, allocations: 0.7233 MB / 0.5814 GB, free: 36.91 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.441, allocations: 7.562 kB / 0.5814 GB, free: 36.91 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.441, allocations: 7.938 kB / 0.5814 GB, free: 36.9 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.441, allocations: 7.984 kB / 0.5814 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.4414, allocations: 454.8 kB / 0.5818 GB, free: 36.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4414, allocations: 4.875 kB / 0.5818 GB, free: 36.53 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006877/0.4421, allocations: 162.5 kB / 0.582 GB, free: 36.5 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4421, allocations: 2.438 kB / 0.582 GB, free: 36.5 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.4422, allocations: 23.89 kB / 0.582 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4422, allocations: 1.188 kB / 0.582 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4422, allocations: 5 kB / 0.582 GB, free: 36.48 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.4434, allocations: 0.9661 MB / 0.583 GB, free: 36.01 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.4436, allocations: 177.8 kB / 0.5831 GB, free: 35.85 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.4436, allocations: 16.44 kB / 0.5832 GB, free: 35.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.4438, allocations: 11.12 kB / 0.5832 GB, free: 35.84 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.4439, allocations: 41.94 kB / 0.5832 GB, free: 35.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.4439, allocations: 30.83 kB / 0.5832 GB, free: 35.8 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.531e-05/0.444, allocations: 113 kB / 0.5833 GB, free: 35.71 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.444, allocations: 0 / 0.5833 GB, free: 35.71 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003025/0.4443, allocations: 122.1 kB / 0.5835 GB, free: 35.69 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.0001228/0.4444, allocations: 135.9 kB / 0.5836 GB, free: 35.57 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.4455, allocations: 0.835 MB / 0.5844 GB, free: 35.32 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4455, allocations: 0 / 0.5844 GB, free: 35.32 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.4459, allocations: 329 kB / 0.5847 GB, free: 35.16 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.4462, allocations: 67.84 kB / 0.5848 GB, free: 35.1 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.4477, allocations: 1.507 MB / 0.5863 GB, free: 33.56 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.4479, allocations: 0.809 MB / 0.587 GB, free: 32.72 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002788/0.4482, allocations: 175.1 kB / 0.5872 GB, free: 32.55 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.4483, allocations: 51.42 kB / 0.5873 GB, free: 32.5 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.4483, allocations: 0 / 0.5873 GB, free: 32.5 MB / 462.3 MB Notification: Performance of Templates: time 0.006406/0.4547, allocations: 5.222 MB / 0.5924 GB, free: 27.33 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches