Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.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: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 87.75 kB / 16.31 MB, free: 6.457 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.001866/0.001866, allocations: 186.4 kB / 17.21 MB, free: 6.324 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.393/1.393, allocations: 223.3 MB / 241.2 MB, free: 344 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.001/1.001, allocations: 120.5 MB / 412.8 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003345, allocations: 11.94 kB / 0.4957 GB, free: 10.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5556/0.5559, allocations: 82.84 MB / 0.5766 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40): time 0.001381/0.5574, allocations: 1.077 MB / 0.5776 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008466/0.5583, allocations: 0.4899 MB / 0.5781 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.5583, allocations: 1.375 kB / 0.5781 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.842e-05/0.5584, allocations: 7.984 kB / 0.5781 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.5589, allocations: 53.62 kB / 0.5781 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.559, allocations: 33.58 kB / 0.5782 GB, free: 41.1 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0009791/0.56, allocations: 0.9029 MB / 0.5791 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.118e-05/0.56, allocations: 13.39 kB / 0.5791 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.5605, allocations: 365 kB / 0.5794 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007897/0.5613, allocations: 0.576 MB / 0.58 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.5615, allocations: 55.88 kB / 0.58 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.5617, allocations: 85.2 kB / 0.5801 GB, free: 40.09 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0004263/0.5621, allocations: 469.1 kB / 0.5806 GB, free: 39.83 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.5624, allocations: 146.1 kB / 0.5807 GB, free: 39.76 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005346/0.5629, allocations: 0.5306 MB / 0.5812 GB, free: 39.48 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5629, allocations: 0 / 0.5812 GB, free: 39.48 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5629, allocations: 1.281 kB / 0.5812 GB, free: 39.48 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.563, allocations: 0 / 0.5812 GB, free: 39.48 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003695/0.5667, allocations: 1.578 MB / 0.5828 GB, free: 38.48 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001127/0.5668, allocations: 9.844 kB / 0.5828 GB, free: 38.48 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006524/0.5675, allocations: 134.4 kB / 0.5829 GB, free: 38.37 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003458/0.5678, allocations: 91.2 kB / 0.583 GB, free: 38.32 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007563/0.5686, allocations: 464.1 kB / 0.5834 GB, free: 37.95 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.5687, allocations: 58.59 kB / 0.5835 GB, free: 37.93 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.5689, allocations: 115 kB / 0.5836 GB, free: 37.88 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.5707, allocations: 1.129 MB / 0.5847 GB, free: 37.24 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.5707, allocations: 1 kB / 0.5847 GB, free: 37.24 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.613e-05/0.5708, allocations: 34.47 kB / 0.5847 GB, free: 37.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.5708, allocations: 26.64 kB / 0.5848 GB, free: 37.21 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.5726, allocations: 1.264 MB / 0.586 GB, free: 36.43 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.5739, allocations: 1.085 MB / 0.5871 GB, free: 35.29 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005129/0.5791, allocations: 2.773 MB / 0.5898 GB, free: 32.52 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.5802, allocations: 0.8811 MB / 0.5906 GB, free: 31.64 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002426/0.5804, allocations: 119.1 kB / 0.5907 GB, free: 31.5 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.5804, allocations: 52.56 kB / 0.5908 GB, free: 31.44 MB / 462.3 MB Notification: Performance of pre-optimization done (n=203): time 3.957e-06/0.5805, allocations: 0 / 0.5908 GB, free: 31.44 MB / 462.3 MB Notification: Performance of matching and sorting (n=203): time 0.003721/0.5842, allocations: 2.656 MB / 0.5934 GB, free: 28.79 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.5842, allocations: 77.36 kB / 0.5935 GB, free: 28.7 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.5844, allocations: 229 kB / 0.5937 GB, free: 28.46 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.597e-05/0.5845, allocations: 65.7 kB / 0.5937 GB, free: 28.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.5846, allocations: 127.3 kB / 0.5939 GB, free: 28.27 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004362/0.5851, allocations: 0.7739 MB / 0.5946 GB, free: 27.48 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.607e-05/0.5852, allocations: 44 kB / 0.5947 GB, free: 27.44 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5853, allocations: 423.2 kB / 0.5951 GB, free: 27.02 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.5864, allocations: 0.9099 MB / 0.5959 GB, free: 26.1 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.5877, allocations: 0.933 MB / 0.5969 GB, free: 25.16 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.5891, allocations: 1.09 MB / 0.5979 GB, free: 24.05 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.5891, allocations: 4 kB / 0.5979 GB, free: 24.05 MB / 462.3 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.003818/0.5929, allocations: 2.419 MB / 0.6003 GB, free: 21.58 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/0.593, allocations: 4 kB / 0.6003 GB, free: 21.58 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.5931, allocations: 7.922 kB / 0.6003 GB, free: 21.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.388e-05/0.5931, allocations: 11.94 kB / 0.6003 GB, free: 21.56 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.5949, allocations: 0.515 MB / 0.6008 GB, free: 21.04 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.5949, allocations: 8 kB / 0.6008 GB, free: 21.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/0.5956, allocations: 154.2 kB / 0.601 GB, free: 20.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.5957, allocations: 79.97 kB / 0.601 GB, free: 20.8 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 (284): * Single equations (assignments): 284 * 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 0.0004/0.5961, allocations: 309.3 kB / 0.6013 GB, free: 20.49 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.5962, allocations: 86.97 kB / 0.6014 GB, free: 20.41 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003704/0.5999, allocations: 2.725 MB / 0.6041 GB, free: 17.63 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.6, allocations: 28 kB / 0.6041 GB, free: 17.6 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.6, allocations: 0 / 0.6041 GB, free: 17.6 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/0.6, allocations: 15.94 kB / 0.6041 GB, free: 17.59 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.6014, allocations: 1.334 MB / 0.6054 GB, free: 16.2 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.6015, allocations: 0 / 0.6054 GB, free: 16.2 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/0.6039, allocations: 0.593 MB / 0.606 GB, free: 15.6 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-05/0.6039, allocations: 12 kB / 0.606 GB, free: 15.59 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001626/0.6041, allocations: 95.94 kB / 0.6061 GB, free: 15.5 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/0.6041, allocations: 8 kB / 0.6061 GB, free: 15.49 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6041, allocations: 7.984 kB / 0.6061 GB, free: 15.48 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/0.6084, allocations: 3.596 MB / 0.6096 GB, free: 11.81 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006819/0.6091, allocations: 418.8 kB / 0.61 GB, free: 11.38 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.6093, allocations: 75.95 kB / 0.6101 GB, free: 11.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/0.6099, allocations: 48 kB / 0.6102 GB, free: 11.26 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/0.6101, allocations: 158 kB / 0.6103 GB, free: 11.1 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.6102, allocations: 87.97 kB / 0.6104 GB, free: 11.02 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001343/0.6103, allocations: 168.5 kB / 0.6106 GB, free: 10.86 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.032e-06/0.6103, allocations: 0 / 0.6106 GB, free: 10.86 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0008283/0.6112, allocations: 455.9 kB / 0.611 GB, free: 10.41 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 81 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],Tu[21],Tu[22],Tu[23],Tu[24],Tu[25],Tu[26],Tu[27],Tu[28],Tu[29],Tu[30],Tu[31],Tu[32],Tu[33],Tu[34],Tu[35],Tu[36],Tu[37],Tu[38],Tu[39],Tu[40],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40]) * 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 (284): * Single equations (assignments): 284 * 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.004509/0.6157, allocations: 4.263 MB / 0.6152 GB, free: 6.059 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.003623/0.6193, allocations: 2.267 MB / 0.6174 GB, free: 3.762 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6194, allocations: 0 / 0.6174 GB, free: 3.762 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.6207, allocations: 1.25 MB / 0.6186 GB, free: 2.508 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008979/0.6216, allocations: 207.1 kB / 0.6188 GB, free: 2.309 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/0.6389, allocations: 12.13 MB / 0.6306 GB, free: 5.984 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009541/0.6399, allocations: 1.147 MB / 0.6318 GB, free: 4.805 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.001981/0.6419, allocations: 0.7395 MB / 0.6325 GB, free: 4.062 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009306/0.6428, allocations: 479.2 kB / 0.6329 GB, free: 3.594 MB / 478.3 MB Notification: Performance of SimCode: time 2.044e-06/0.6429, allocations: 7.875 kB / 0.6329 GB, free: 3.586 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05287/0.6957, allocations: 28.45 MB / 0.6607 GB, free: 7.391 MB / 0.4983 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/0.696, allocations: 232 kB / 0.6609 GB, free: 7.148 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.755/3.451, allocations: 8 kB / 0.661 GB, free: 7.141 MB / 0.4983 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_40_res.mat does not exist to compare? outputFormat=mat