Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.Verification.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",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.001004, allocations: 85.12 kB / 16.31 MB, free: 6.449 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.000766/0.000766, allocations: 180.3 kB / 17.21 MB, free: 6.32 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.467/1.467, allocations: 223.2 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9817/0.9817, allocations: 120.5 MB / 412.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003954, allocations: 8 kB / 0.4944 GB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2061, allocations: 82.85 MB / 0.5753 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.0007025/0.2069, allocations: 114.5 kB / 0.5754 GB, free: 7.918 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006402/0.2076, allocations: 159.7 kB / 0.5755 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.2076, allocations: 0 / 0.5755 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.2077, allocations: 0 / 0.5755 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.488e-05/0.2078, allocations: 0 / 0.5755 GB, free: 7.762 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.2079, allocations: 7.984 kB / 0.5755 GB, free: 7.754 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.137e-05/0.2079, allocations: 3.938 kB / 0.5755 GB, free: 7.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.208, allocations: 4 kB / 0.5755 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.059e-05/0.208, allocations: 3.984 kB / 0.5755 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.2081, allocations: 8 kB / 0.5755 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.2081, allocations: 3.938 kB / 0.5756 GB, free: 7.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-05/0.2082, allocations: 11.98 kB / 0.5756 GB, free: 7.719 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.155e-06/0.2082, allocations: 3.938 kB / 0.5756 GB, free: 7.715 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.2082, allocations: 25.7 kB / 0.5756 GB, free: 7.684 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.012e-05/0.2083, allocations: 7.984 kB / 0.5756 GB, free: 7.676 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2083, allocations: 0 / 0.5756 GB, free: 7.676 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.2083, allocations: 0 / 0.5756 GB, free: 7.676 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.2083, allocations: 0 / 0.5756 GB, free: 7.676 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002955/0.2086, allocations: 323.4 kB / 0.5759 GB, free: 7.312 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.2087, allocations: 8.031 kB / 0.5759 GB, free: 7.305 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.028e-05/0.2087, allocations: 30.56 kB / 0.5759 GB, free: 7.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.2088, allocations: 7.953 kB / 0.576 GB, free: 7.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2089, allocations: 163.1 kB / 0.5761 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.2089, allocations: 0 / 0.5761 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.2089, allocations: 0 / 0.5761 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.209, allocations: 33.69 kB / 0.5761 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2091, allocations: 0 / 0.5761 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2091, allocations: 4 kB / 0.5761 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2091, allocations: 11.89 kB / 0.5762 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.453e-05/0.2091, allocations: 4 kB / 0.5762 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.2093, allocations: 141.7 kB / 0.5763 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.673e-05/0.2094, allocations: 30.59 kB / 0.5763 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/0.2094, allocations: 7.141 kB / 0.5763 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002698/0.2097, allocations: 85.17 kB / 0.5764 GB, free: 6.664 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.2098, allocations: 38.56 kB / 0.5764 GB, free: 6.617 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2098, allocations: 0 / 0.5764 GB, free: 6.617 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001841/0.21, allocations: 45.62 kB / 0.5765 GB, free: 6.566 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.21, allocations: 51.41 kB / 0.5765 GB, free: 6.504 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.343e-05/0.2101, allocations: 93.81 kB / 0.5766 GB, free: 6.402 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.2101, allocations: 25.7 kB / 0.5767 GB, free: 6.371 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.2102, allocations: 84.08 kB / 0.5767 GB, free: 6.285 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.2102, allocations: 12.19 kB / 0.5767 GB, free: 6.273 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.2102, allocations: 4.125 kB / 0.5767 GB, free: 6.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2104, allocations: 310.8 kB / 0.577 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.2104, allocations: 3.984 kB / 0.577 GB, free: 5.953 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.046e-05/0.2104, allocations: 4 kB / 0.5771 GB, free: 5.949 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.341e-05/0.2104, allocations: 0 / 0.5771 GB, free: 5.949 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2104, allocations: 0 / 0.5771 GB, free: 5.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.755e-05/0.2105, allocations: 41.64 kB / 0.5771 GB, free: 5.902 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.2106, allocations: 9.875 kB / 0.5771 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2106, allocations: 4.094 kB / 0.5771 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.2106, allocations: 0 / 0.5771 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.835e-05/0.2107, allocations: 11.92 kB / 0.5771 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2107, allocations: 0 / 0.5771 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.2107, allocations: 3.938 kB / 0.5771 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.2108, allocations: 3.953 kB / 0.5771 GB, free: 5.871 MB / 446.1 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 (2): * Single equations (assignments): 2 * 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.0001023/0.2109, allocations: 105.8 kB / 0.5772 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.2109, allocations: 7.906 kB / 0.5772 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.211, allocations: 52.75 kB / 0.5773 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.211, allocations: 0 / 0.5773 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.211, allocations: 0 / 0.5773 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.211, allocations: 0 / 0.5773 GB, free: 5.688 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.2112, allocations: 149.6 kB / 0.5774 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2113, allocations: 0 / 0.5774 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.2114, allocations: 7.984 kB / 0.5774 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/0.2114, allocations: 0 / 0.5774 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.2115, allocations: 4 kB / 0.5774 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.2115, allocations: 0 / 0.5774 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-05/0.2115, allocations: 4 kB / 0.5774 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.2117, allocations: 65.12 kB / 0.5775 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.2117, allocations: 81.09 kB / 0.5776 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.2117, allocations: 0 / 0.5776 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.245e-05/0.2118, allocations: 0 / 0.5776 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.2118, allocations: 7.938 kB / 0.5776 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.2118, allocations: 0 / 0.5776 GB, free: 5.289 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.822e-05/0.2118, allocations: 75.28 kB / 0.5777 GB, free: 5.215 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2118, allocations: 7.969 kB / 0.5777 GB, free: 5.207 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.2121, allocations: 4 kB / 0.5777 GB, free: 5.203 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.00041/0.2125, allocations: 0.6007 MB / 0.5783 GB, free: 4.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.428e-05/0.2126, allocations: 4 kB / 0.5783 GB, free: 4.566 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2126, allocations: 4.094 kB / 0.5783 GB, free: 4.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.139e-05/0.2126, allocations: 11.92 kB / 0.5783 GB, free: 4.551 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.2128, allocations: 4 kB / 0.5783 GB, free: 4.547 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.2132, allocations: 108.4 kB / 0.5784 GB, free: 4.398 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.2135, allocations: 0.6731 MB / 0.579 GB, free: 3.699 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.948e-05/0.2135, allocations: 3.984 kB / 0.579 GB, free: 3.695 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.2135, allocations: 15.5 kB / 0.5791 GB, free: 3.68 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2136, allocations: 0 / 0.5791 GB, free: 3.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/0.2258, allocations: 0.8711 MB / 0.5799 GB, free: 2.98 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/0.2261, allocations: 204.6 kB / 0.5801 GB, free: 2.742 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.141, allocations: 2.656 kB / 0.5801 GB, free: 2.742 MB / 446.1 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat does not exist to compare? outputFormat=mat