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.001122/0.001122, allocations: 101.3 kB / 16.5 MB, free: 6.688 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.00124/0.00124, allocations: 197.4 kB / 17.42 MB, free: 6.086 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.279/1.279, allocations: 222.9 MB / 241.1 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.942/0.942, allocations: 119.3 MB / 410.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.91 kB / 0.4916 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5176, allocations: 80.68 MB / 0.5704 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002328/0.52, allocations: 1.449 MB / 0.5718 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0007775/0.5208, allocations: 0.5112 MB / 0.5723 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.5208, allocations: 1.188 kB / 0.5723 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.824e-05/0.5209, allocations: 11.92 kB / 0.5723 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.5212, allocations: 47.45 kB / 0.5723 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.046e-05/0.5213, allocations: 33.56 kB / 0.5724 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.5216, allocations: 363.4 kB / 0.5727 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.5216, allocations: 5.875 kB / 0.5727 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.5218, allocations: 111.3 kB / 0.5728 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.522, allocations: 176.5 kB / 0.573 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5e-05/0.5221, allocations: 15.12 kB / 0.573 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.5222, allocations: 37.86 kB / 0.5731 GB, free: 41.43 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.5224, allocations: 120.6 kB / 0.5732 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.5225, allocations: 131.3 kB / 0.5733 GB, free: 41.28 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.5228, allocations: 241.5 kB / 0.5735 GB, free: 41.14 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5228, allocations: 0 / 0.5735 GB, free: 41.14 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.81e-07/0.5228, allocations: 0 / 0.5735 GB, free: 41.14 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.5228, allocations: 0 / 0.5735 GB, free: 41.14 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.001007/0.5238, allocations: 0.5801 MB / 0.5741 GB, free: 40.64 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.5239, allocations: 10 kB / 0.5741 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.5239, allocations: 29.8 kB / 0.5741 GB, free: 40.63 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.5242, allocations: 243.1 kB / 0.5744 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.5242, allocations: 18.06 kB / 0.5744 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.5243, allocations: 27.88 kB / 0.5744 GB, free: 40.36 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.5248, allocations: 317.2 kB / 0.5747 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.5248, allocations: 0 / 0.5747 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.5248, allocations: 10.53 kB / 0.5747 GB, free: 40.17 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.5249, allocations: 4.938 kB / 0.5747 GB, free: 40.17 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000446/0.5253, allocations: 298.8 kB / 0.575 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.5257, allocations: 389.9 kB / 0.5754 GB, free: 39.72 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.5274, allocations: 0.6859 MB / 0.5761 GB, free: 39.41 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.5277, allocations: 237.6 kB / 0.5763 GB, free: 39.3 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.5279, allocations: 94.86 kB / 0.5764 GB, free: 39.2 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.5279, allocations: 38.88 kB / 0.5764 GB, free: 39.15 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.392e-06/0.5279, allocations: 0 / 0.5764 GB, free: 39.15 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.001092/0.529, allocations: 0.6985 MB / 0.5771 GB, free: 38.82 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.5291, allocations: 57.72 kB / 0.5771 GB, free: 38.75 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.5292, allocations: 149 kB / 0.5773 GB, free: 38.62 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.5292, allocations: 36.27 kB / 0.5773 GB, free: 38.58 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.5292, allocations: 100.5 kB / 0.5774 GB, free: 38.48 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.5294, allocations: 202.2 kB / 0.5776 GB, free: 38.31 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.5295, allocations: 106.2 kB / 0.5777 GB, free: 38.24 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.937e-05/0.5296, allocations: 344.5 kB / 0.578 GB, free: 37.91 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.5299, allocations: 241.3 kB / 0.5783 GB, free: 37.8 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.5303, allocations: 249.8 kB / 0.5785 GB, free: 37.69 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000795/0.5311, allocations: 0.5311 MB / 0.579 GB, free: 37.44 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5311, allocations: 0.9375 kB / 0.579 GB, free: 37.44 MB / 462.3 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009862/0.5321, allocations: 0.6433 MB / 0.5797 GB, free: 37.14 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.5321, allocations: 5.531 kB / 0.5797 GB, free: 37.14 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5321, allocations: 0 / 0.5797 GB, free: 37.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5321, allocations: 2.75 kB / 0.5797 GB, free: 37.14 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.5327, allocations: 138.9 kB / 0.5798 GB, free: 37.11 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.5327, allocations: 6.469 kB / 0.5798 GB, free: 37.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.5329, allocations: 43.12 kB / 0.5798 GB, free: 37.07 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.5329, allocations: 21.86 kB / 0.5799 GB, free: 37.07 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.0001292/0.533, allocations: 163.2 kB / 0.58 GB, free: 36.92 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.5331, allocations: 24.34 kB / 0.58 GB, free: 36.91 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.5342, allocations: 0.7234 MB / 0.5807 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.5342, allocations: 11.59 kB / 0.5808 GB, free: 36.52 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5342, allocations: 3.938 kB / 0.5808 GB, free: 36.51 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.5343, allocations: 3.984 kB / 0.5808 GB, free: 36.51 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.5347, allocations: 459.2 kB / 0.5812 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.5347, allocations: 5.234 kB / 0.5812 GB, free: 36.14 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007275/0.5354, allocations: 153.4 kB / 0.5814 GB, free: 36.11 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.5354, allocations: 7.75 kB / 0.5814 GB, free: 36.11 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/0.5355, allocations: 30.08 kB / 0.5814 GB, free: 36.09 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.5355, allocations: 2.531 kB / 0.5814 GB, free: 36.09 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5355, allocations: 7.922 kB / 0.5814 GB, free: 36.08 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.5369, allocations: 0.9637 MB / 0.5823 GB, free: 35.61 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.537, allocations: 173.1 kB / 0.5825 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.215e-05/0.5371, allocations: 20.05 kB / 0.5825 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.5373, allocations: 15.44 kB / 0.5825 GB, free: 35.44 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/0.5374, allocations: 41.31 kB / 0.5826 GB, free: 35.42 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.5374, allocations: 22.59 kB / 0.5826 GB, free: 35.41 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.628e-05/0.5375, allocations: 112.9 kB / 0.5827 GB, free: 35.32 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5375, allocations: 1.125 kB / 0.5827 GB, free: 35.32 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003667/0.5379, allocations: 125.4 kB / 0.5828 GB, free: 35.3 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.0001771/0.5381, allocations: 133.8 kB / 0.583 GB, free: 35.18 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008289/0.5389, allocations: 0.5809 MB / 0.5835 GB, free: 34.95 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5389, allocations: 0 / 0.5835 GB, free: 34.95 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.5393, allocations: 332.1 kB / 0.5838 GB, free: 34.82 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.5397, allocations: 65.06 kB / 0.5839 GB, free: 34.77 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.5419, allocations: 1.614 MB / 0.5855 GB, free: 33.63 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.5422, allocations: 0.8076 MB / 0.5863 GB, free: 32.88 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003863/0.5426, allocations: 173.2 kB / 0.5864 GB, free: 32.82 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.5427, allocations: 49.55 kB / 0.5865 GB, free: 32.8 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.5427, allocations: 0 / 0.5865 GB, free: 32.8 MB / 462.3 MB Notification: Performance of Templates: time 0.007218/0.5499, allocations: 4.945 MB / 0.5913 GB, free: 27.91 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches