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.001003/0.001003, allocations: 90.91 kB / 16.31 MB, free: 6.461 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.001195/0.001195, allocations: 180.7 kB / 17.21 MB, free: 6.328 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.356/1.356, allocations: 223.2 MB / 241.2 MB, free: 340 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.09/1.09, allocations: 120.4 MB / 412.8 MB, free: 9.23 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.000354, allocations: 8 kB / 0.4957 GB, free: 10.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5959/0.5963, allocations: 82.84 MB / 0.5766 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001274/0.5976, allocations: 1.08 MB / 0.5776 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008058/0.5984, allocations: 494.5 kB / 0.5781 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.5985, allocations: 0 / 0.5781 GB, free: 41.15 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.5986, allocations: 7.922 kB / 0.5781 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.5989, allocations: 48.31 kB / 0.5781 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 8.047e-05/0.599, allocations: 40.92 kB / 0.5782 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004969/0.5995, allocations: 0.5014 MB / 0.5787 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.632e-05/0.5996, allocations: 6.094 kB / 0.5787 GB, free: 40.79 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.5999, allocations: 196.2 kB / 0.5789 GB, free: 40.7 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004786/0.6004, allocations: 311 kB / 0.5792 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.6005, allocations: 30.44 kB / 0.5792 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.6006, allocations: 51.64 kB / 0.5792 GB, free: 40.53 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.6009, allocations: 248 kB / 0.5795 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.601, allocations: 92.8 kB / 0.5796 GB, free: 40.33 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.6014, allocations: 286.2 kB / 0.5798 GB, free: 40.18 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.6014, allocations: 4 kB / 0.5798 GB, free: 40.18 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.365e-06/0.6014, allocations: 0 / 0.5798 GB, free: 40.18 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.6014, allocations: 0 / 0.5798 GB, free: 40.18 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001635/0.603, allocations: 0.8496 MB / 0.5807 GB, free: 39.56 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.6031, allocations: 8.875 kB / 0.5807 GB, free: 39.56 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.6032, allocations: 90.92 kB / 0.5808 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.664e-05/0.6033, allocations: 46.58 kB / 0.5808 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.6037, allocations: 315 kB / 0.5811 GB, free: 39.17 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.6037, allocations: 29.41 kB / 0.5811 GB, free: 39.16 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.6039, allocations: 56.7 kB / 0.5812 GB, free: 39.13 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009101/0.6048, allocations: 0.5868 MB / 0.5818 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.6048, allocations: 0 / 0.5818 GB, free: 38.79 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/0.6049, allocations: 15.81 kB / 0.5818 GB, free: 38.78 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.6049, allocations: 18.05 kB / 0.5818 GB, free: 38.77 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/0.6058, allocations: 0.5828 MB / 0.5824 GB, free: 38.54 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.6066, allocations: 0.6187 MB / 0.583 GB, free: 38.07 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.6095, allocations: 1.359 MB / 0.5843 GB, free: 37.47 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006525/0.6102, allocations: 457 kB / 0.5847 GB, free: 37.26 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/0.6104, allocations: 104 kB / 0.5848 GB, free: 37.16 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.6104, allocations: 43.34 kB / 0.5849 GB, free: 37.11 MB / 462.3 MB Notification: Performance of pre-optimization done (n=103): time 1.934e-06/0.6104, allocations: 1.25 kB / 0.5849 GB, free: 37.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=103): time 0.001943/0.6124, allocations: 1.352 MB / 0.5862 GB, free: 36.18 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.6124, allocations: 68.36 kB / 0.5863 GB, free: 36.1 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.6126, allocations: 174.7 kB / 0.5864 GB, free: 35.92 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.6126, allocations: 41.7 kB / 0.5865 GB, free: 35.87 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.6127, allocations: 106.1 kB / 0.5866 GB, free: 35.77 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.6129, allocations: 402.2 kB / 0.5869 GB, free: 35.37 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.613, allocations: 28 kB / 0.587 GB, free: 35.34 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.6131, allocations: 362.8 kB / 0.5873 GB, free: 34.98 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005627/0.6136, allocations: 478.2 kB / 0.5878 GB, free: 34.51 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/0.6142, allocations: 483.5 kB / 0.5882 GB, free: 34.04 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006398/0.6148, allocations: 0.549 MB / 0.5888 GB, free: 33.49 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6149, allocations: 0 / 0.5888 GB, free: 33.49 MB / 462.3 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001386/0.6162, allocations: 1.226 MB / 0.59 GB, free: 32.25 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.6163, allocations: 6.344 kB / 0.59 GB, free: 32.25 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6163, allocations: 0 / 0.59 GB, free: 32.25 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.6163, allocations: 8 kB / 0.59 GB, free: 32.24 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009086/0.6172, allocations: 271.6 kB / 0.5902 GB, free: 31.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/0.6172, allocations: 11.98 kB / 0.5903 GB, free: 31.96 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.6176, allocations: 83.02 kB / 0.5903 GB, free: 31.88 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/0.6177, allocations: 39.98 kB / 0.5904 GB, free: 31.84 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 (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.0001956/0.6179, allocations: 209.5 kB / 0.5906 GB, free: 31.63 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.6179, allocations: 39.53 kB / 0.5906 GB, free: 31.59 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.6198, allocations: 1.404 MB / 0.592 GB, free: 30.17 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.6198, allocations: 12 kB / 0.592 GB, free: 30.16 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.6199, allocations: 4 kB / 0.592 GB, free: 30.16 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.6199, allocations: 3.984 kB / 0.592 GB, free: 30.15 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007167/0.6206, allocations: 0.7387 MB / 0.5927 GB, free: 29.37 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6206, allocations: 3.984 kB / 0.5927 GB, free: 29.36 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.6218, allocations: 303.7 kB / 0.593 GB, free: 29.07 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.914e-06/0.6218, allocations: 4 kB / 0.593 GB, free: 29.06 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-05/0.6219, allocations: 51.95 kB / 0.5931 GB, free: 29.01 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.6219, allocations: 7.938 kB / 0.5931 GB, free: 29 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6219, allocations: 4 kB / 0.5931 GB, free: 29 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.624, allocations: 1.846 MB / 0.5949 GB, free: 27.13 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.6243, allocations: 252 kB / 0.5951 GB, free: 26.87 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.619e-05/0.6244, allocations: 39.97 kB / 0.5952 GB, free: 26.83 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.6247, allocations: 28 kB / 0.5952 GB, free: 26.8 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.6248, allocations: 81.2 kB / 0.5953 GB, free: 26.72 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/0.6249, allocations: 39.98 kB / 0.5953 GB, free: 26.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 7.742e-05/0.625, allocations: 136.3 kB / 0.5954 GB, free: 26.55 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.31e-07/0.625, allocations: 0 / 0.5954 GB, free: 26.55 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004833/0.6255, allocations: 236 kB / 0.5957 GB, free: 26.32 MB / 462.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.002365/0.6278, allocations: 2.451 MB / 0.5981 GB, free: 23.84 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001477/0.6293, allocations: 1.143 MB / 0.5992 GB, free: 22.7 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6293, allocations: 0 / 0.5992 GB, free: 22.7 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006979/0.63, allocations: 0.6319 MB / 0.5998 GB, free: 22.06 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005328/0.6306, allocations: 104.1 kB / 0.5999 GB, free: 21.96 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/0.6369, allocations: 6.239 MB / 0.606 GB, free: 15.67 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.6373, allocations: 0.9192 MB / 0.6069 GB, free: 14.73 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0007399/0.638, allocations: 368.8 kB / 0.6072 GB, free: 14.37 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.6384, allocations: 239.3 kB / 0.6075 GB, free: 14.13 MB / 462.3 MB Notification: Performance of SimCode: time 1.392e-06/0.6384, allocations: 0 / 0.6075 GB, free: 14.13 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.6643, allocations: 15 MB / 0.6221 GB, free: 15.37 MB / 478.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.6646, allocations: 228.6 kB / 0.6223 GB, free: 15.12 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/2.759, allocations: 3.094 kB / 0.6223 GB, free: 15.12 MB / 478.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