Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20",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.001152/0.001152, allocations: 95.12 kB / 16.3 MB, free: 6.453 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.001058/0.001058, allocations: 179.3 kB / 17.19 MB, free: 6.34 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.434/1.434, allocations: 223.2 MB / 241.1 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8896/0.8896, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003425, allocations: 12 kB / 0.4955 GB, free: 9.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1628, allocations: 82.86 MB / 0.5765 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001344/0.1642, allocations: 1.061 MB / 0.5775 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007497/0.1649, allocations: 491.7 kB / 0.578 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.165, allocations: 4 kB / 0.578 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.605e-05/0.1651, allocations: 7.938 kB / 0.578 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.1653, allocations: 47.91 kB / 0.578 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.105e-05/0.1654, allocations: 35.83 kB / 0.5781 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.1658, allocations: 359.5 kB / 0.5784 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.1658, allocations: 12.17 kB / 0.5784 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.166, allocations: 191.7 kB / 0.5786 GB, free: 4.516 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.1664, allocations: 275.6 kB / 0.5789 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.342e-05/0.1665, allocations: 28 kB / 0.5789 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1666, allocations: 51.97 kB / 0.5789 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.1668, allocations: 223.5 kB / 0.5791 GB, free: 3.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.536e-05/0.1669, allocations: 89.52 kB / 0.5792 GB, free: 3.855 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.1672, allocations: 271.6 kB / 0.5795 GB, free: 3.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1672, allocations: 0 / 0.5795 GB, free: 3.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1672, allocations: 0 / 0.5795 GB, free: 3.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1672, allocations: 4 kB / 0.5795 GB, free: 3.586 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.002183/0.1694, allocations: 0.858 MB / 0.5803 GB, free: 2.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.045e-05/0.1695, allocations: 8.031 kB / 0.5803 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002585/0.1698, allocations: 82.53 kB / 0.5804 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.1701, allocations: 51.39 kB / 0.5805 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.1705, allocations: 322.8 kB / 0.5808 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.1706, allocations: 37 kB / 0.5808 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.1707, allocations: 55.81 kB / 0.5809 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008467/0.1715, allocations: 0.5801 MB / 0.5814 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1716, allocations: 0 / 0.5814 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.1716, allocations: 16 kB / 0.5814 GB, free: 1.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.1716, allocations: 15.95 kB / 0.5815 GB, free: 1.465 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008995/0.1725, allocations: 0.5816 MB / 0.582 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008936/0.1734, allocations: 0.6099 MB / 0.5826 GB, free: 220 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4646/0.6381, allocations: 1.362 MB / 0.584 GB, free: 16.5 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.6383, allocations: 104 kB / 0.5841 GB, free: 16.41 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.6383, allocations: 42.52 kB / 0.5841 GB, free: 16.37 MB / 446.3 MB Notification: Performance of pre-optimization done (n=103): time 2.755e-06/0.6384, allocations: 0.8438 kB / 0.5841 GB, free: 16.37 MB / 446.3 MB Notification: Performance of matching and sorting (n=103): time 0.00281/0.6412, allocations: 1.345 MB / 0.5854 GB, free: 16.29 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/0.6413, allocations: 63.59 kB / 0.5855 GB, free: 16.23 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.6417, allocations: 180.9 kB / 0.5856 GB, free: 16.12 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 7.289e-05/0.6418, allocations: 45.7 kB / 0.5857 GB, free: 16.09 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.6418, allocations: 105 kB / 0.5858 GB, free: 16.01 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.6421, allocations: 406.6 kB / 0.5862 GB, free: 15.77 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/0.6422, allocations: 22.69 kB / 0.5862 GB, free: 15.77 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6423, allocations: 369.6 kB / 0.5865 GB, free: 15.46 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008028/0.6431, allocations: 468.9 kB / 0.587 GB, free: 15.39 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007478/0.6439, allocations: 478.8 kB / 0.5874 GB, free: 15.27 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009108/0.6448, allocations: 0.5478 MB / 0.588 GB, free: 15.09 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.6448, allocations: 0 / 0.588 GB, free: 15.09 MB / 446.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002047/0.6469, allocations: 1.239 MB / 0.5892 GB, free: 14.7 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.6469, allocations: 5.156 kB / 0.5892 GB, free: 14.7 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.6469, allocations: 0.7031 kB / 0.5892 GB, free: 14.7 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.647, allocations: 4.969 kB / 0.5892 GB, free: 14.7 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.6481, allocations: 273.9 kB / 0.5895 GB, free: 14.68 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/0.6481, allocations: 5.984 kB / 0.5895 GB, free: 14.68 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.6485, allocations: 78.38 kB / 0.5895 GB, free: 14.61 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.797e-05/0.6485, allocations: 39.09 kB / 0.5896 GB, free: 14.61 MB / 446.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 (144): * Single equations (assignments): 144 * 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.0002624/0.6488, allocations: 206.3 kB / 0.5898 GB, free: 14.44 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.979e-05/0.6489, allocations: 54.25 kB / 0.5898 GB, free: 14.41 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/0.6513, allocations: 1.402 MB / 0.5912 GB, free: 13.91 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.6514, allocations: 15.59 kB / 0.5912 GB, free: 13.91 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.6514, allocations: 0 / 0.5912 GB, free: 13.91 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.6514, allocations: 10.89 kB / 0.5912 GB, free: 13.91 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009225/0.6523, allocations: 0.7372 MB / 0.5919 GB, free: 13.53 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6523, allocations: 1.062 kB / 0.5919 GB, free: 13.53 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.6538, allocations: 304.4 kB / 0.5922 GB, free: 13.51 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.892e-05/0.6538, allocations: 9.797 kB / 0.5922 GB, free: 13.5 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-05/0.6539, allocations: 45.62 kB / 0.5923 GB, free: 13.49 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.6539, allocations: 4.781 kB / 0.5923 GB, free: 13.49 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.6539, allocations: 4.594 kB / 0.5923 GB, free: 13.49 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.6565, allocations: 1.841 MB / 0.5941 GB, free: 12.86 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.6569, allocations: 254.7 kB / 0.5943 GB, free: 12.7 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.657, allocations: 48.42 kB / 0.5944 GB, free: 12.68 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.6573, allocations: 21.34 kB / 0.5944 GB, free: 12.66 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.6575, allocations: 82.58 kB / 0.5945 GB, free: 12.65 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-05/0.6576, allocations: 47.67 kB / 0.5945 GB, free: 12.64 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.0001009/0.6577, allocations: 126.6 kB / 0.5947 GB, free: 12.55 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6577, allocations: 1.375 kB / 0.5947 GB, free: 12.55 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.0006027/0.6583, allocations: 234.4 kB / 0.5949 GB, free: 12.52 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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],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]) * 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 (144): * Single equations (assignments): 144 * 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.003613/0.662, allocations: 2.444 MB / 0.5973 GB, free: 11.32 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.6646, allocations: 1.139 MB / 0.5984 GB, free: 11.03 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6646, allocations: 0 / 0.5984 GB, free: 11.03 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.6657, allocations: 0.6321 MB / 0.599 GB, free: 10.86 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.6661, allocations: 85.47 kB / 0.5991 GB, free: 10.82 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008253/0.6744, allocations: 6.224 MB / 0.6052 GB, free: 7.684 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.6748, allocations: 0.9352 MB / 0.6061 GB, free: 6.887 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0008362/0.6756, allocations: 366.7 kB / 0.6064 GB, free: 6.727 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/0.676, allocations: 238.7 kB / 0.6066 GB, free: 6.559 MB / 446.3 MB Notification: Performance of SimCode: time 7.31e-07/0.676, allocations: 0 / 0.6066 GB, free: 6.559 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.7057, allocations: 14.95 MB / 0.6212 GB, free: 11.15 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/0.706, allocations: 222.7 kB / 0.6215 GB, free: 10.9 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/2.988, allocations: 3.5 kB / 0.6215 GB, free: 10.9 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20_fmu --startTime=0 --stopTime=432000 --timeout=300 --tolerance=1e-07 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_ScaledExperiments_HeatingSystem_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat does not exist to compare? outputFormat=mat