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.001312/0.001312, allocations: 110.9 kB / 17.28 MB, free: 6.199 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.001351/0.001351, allocations: 194 kB / 18.21 MB, free: 5.273 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.269/1.269, allocations: 222.9 MB / 241.9 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9081/0.9081, allocations: 119.3 MB / 411.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 63.89 kB / 0.4924 GB, free: 12.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5087/0.5105, allocations: 80.68 MB / 0.5712 GB, free: 44.07 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002178/0.5127, allocations: 1.442 MB / 0.5726 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007211/0.5135, allocations: 0.5146 MB / 0.5731 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.5135, allocations: 0 / 0.5731 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.216e-05/0.5137, allocations: 13.08 kB / 0.5731 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.5139, allocations: 50.52 kB / 0.5732 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.821e-05/0.514, allocations: 38.77 kB / 0.5732 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.5143, allocations: 312.5 kB / 0.5735 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.5143, allocations: 5.312 kB / 0.5735 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.5145, allocations: 120.1 kB / 0.5736 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.5147, allocations: 167.5 kB / 0.5738 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.5148, allocations: 15.41 kB / 0.5738 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.5149, allocations: 41.69 kB / 0.5739 GB, free: 42.13 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.515, allocations: 116.7 kB / 0.574 GB, free: 42.07 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.5152, allocations: 127.2 kB / 0.5741 GB, free: 41.99 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.5153, allocations: 169.2 kB / 0.5742 GB, free: 41.9 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5153, allocations: 1.125 kB / 0.5742 GB, free: 41.9 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5154, allocations: 0 / 0.5742 GB, free: 41.9 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.5154, allocations: 4 kB / 0.5743 GB, free: 41.89 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.001009/0.5164, allocations: 0.5766 MB / 0.5748 GB, free: 41.4 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.5164, allocations: 12.86 kB / 0.5748 GB, free: 41.4 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.514e-05/0.5165, allocations: 25.41 kB / 0.5749 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.5167, allocations: 250.9 kB / 0.5751 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.5168, allocations: 16.22 kB / 0.5751 GB, free: 41.13 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/0.5168, allocations: 33.64 kB / 0.5751 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.5173, allocations: 319.5 kB / 0.5754 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.5173, allocations: 1.031 kB / 0.5754 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.5174, allocations: 5.469 kB / 0.5754 GB, free: 40.92 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5174, allocations: 5.688 kB / 0.5755 GB, free: 40.92 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.5178, allocations: 291.2 kB / 0.5757 GB, free: 40.8 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.5183, allocations: 392.6 kB / 0.5761 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.52, allocations: 0.6801 MB / 0.5768 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.5203, allocations: 241.4 kB / 0.577 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.5205, allocations: 98.52 kB / 0.5771 GB, free: 39.95 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.5205, allocations: 37.81 kB / 0.5771 GB, free: 39.9 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.873e-06/0.5205, allocations: 0 / 0.5771 GB, free: 39.9 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001071/0.5216, allocations: 0.6908 MB / 0.5778 GB, free: 39.58 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.5216, allocations: 57.38 kB / 0.5779 GB, free: 39.52 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.5217, allocations: 150.5 kB / 0.578 GB, free: 39.38 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.5218, allocations: 35.55 kB / 0.578 GB, free: 39.34 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.5218, allocations: 104.8 kB / 0.5781 GB, free: 39.24 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.522, allocations: 209.9 kB / 0.5783 GB, free: 39.06 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.5221, allocations: 106.2 kB / 0.5784 GB, free: 38.99 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.5222, allocations: 344 kB / 0.5788 GB, free: 38.66 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.5226, allocations: 241.1 kB / 0.579 GB, free: 38.55 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.5229, allocations: 247.1 kB / 0.5792 GB, free: 38.44 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007536/0.5237, allocations: 0.5274 MB / 0.5797 GB, free: 38.2 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5237, allocations: 0 / 0.5797 GB, free: 38.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008981/0.5246, allocations: 0.6478 MB / 0.5804 GB, free: 37.89 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5246, allocations: 9.812 kB / 0.5804 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5247, allocations: 0 / 0.5804 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5247, allocations: 3.812 kB / 0.5804 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/0.5252, allocations: 137.6 kB / 0.5805 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.5253, allocations: 7.719 kB / 0.5805 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.5255, allocations: 37.84 kB / 0.5806 GB, free: 37.83 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.5255, allocations: 23.14 kB / 0.5806 GB, free: 37.82 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.0001471/0.5257, allocations: 157.9 kB / 0.5807 GB, free: 37.68 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.5257, allocations: 24.34 kB / 0.5808 GB, free: 37.66 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.5268, allocations: 0.7312 MB / 0.5815 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.5269, allocations: 7.562 kB / 0.5815 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5269, allocations: 3.938 kB / 0.5815 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.5269, allocations: 9.25 kB / 0.5815 GB, free: 37.26 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.5273, allocations: 466.3 kB / 0.5819 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5274, allocations: 0 / 0.5819 GB, free: 36.89 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007756/0.5281, allocations: 150.9 kB / 0.5821 GB, free: 36.86 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.5282, allocations: 10.81 kB / 0.5821 GB, free: 36.86 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/0.5282, allocations: 26 kB / 0.5821 GB, free: 36.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.5282, allocations: 3.594 kB / 0.5821 GB, free: 36.84 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5282, allocations: 3.938 kB / 0.5821 GB, free: 36.84 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.5296, allocations: 0.9551 MB / 0.5831 GB, free: 36.38 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.5297, allocations: 177.9 kB / 0.5832 GB, free: 36.22 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.5298, allocations: 19.77 kB / 0.5832 GB, free: 36.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.53, allocations: 11.47 kB / 0.5833 GB, free: 36.2 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.5301, allocations: 49.38 kB / 0.5833 GB, free: 36.17 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.5301, allocations: 22.58 kB / 0.5833 GB, free: 36.16 MB / 462.3 MB Notification: Performance of sorting global known variables: time 7.039e-05/0.5302, allocations: 113.6 kB / 0.5834 GB, free: 36.07 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5302, allocations: 0 / 0.5834 GB, free: 36.07 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003979/0.5306, allocations: 122 kB / 0.5836 GB, free: 36.05 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.0001813/0.5308, allocations: 136.1 kB / 0.5837 GB, free: 35.94 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.5322, allocations: 0.8455 MB / 0.5845 GB, free: 35.67 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5322, allocations: 0 / 0.5845 GB, free: 35.67 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004046/0.5326, allocations: 328.8 kB / 0.5848 GB, free: 35.53 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.5329, allocations: 59.91 kB / 0.5849 GB, free: 35.47 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.5347, allocations: 1.657 MB / 0.5865 GB, free: 33.78 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.5349, allocations: 0.809 MB / 0.5873 GB, free: 32.94 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.5351, allocations: 51.42 kB / 0.5873 GB, free: 32.89 MB / 462.3 MB Notification: Performance of SimCode: time 6.31e-07/0.5351, allocations: 0 / 0.5873 GB, free: 32.89 MB / 462.3 MB Notification: Performance of Templates: time 0.005942/0.5411, allocations: 5.102 MB / 0.5923 GB, free: 27.8 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