Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.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.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",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.001059/0.00106, allocations: 93.39 kB / 16.3 MB, free: 5.992 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.000936/0.000936, allocations: 183.8 kB / 17.2 MB, free: 5.914 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.435/1.435, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8748/0.8748, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003289, allocations: 12 kB / 0.4943 GB, free: 11.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1777, allocations: 82.86 MB / 0.5752 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0004502/0.1782, allocations: 110.6 kB / 0.5753 GB, free: 7.941 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001659/0.1784, allocations: 31.91 kB / 0.5753 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.1784, allocations: 0 / 0.5753 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.1784, allocations: 0 / 0.5753 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.461e-05/0.1785, allocations: 0 / 0.5753 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.1786, allocations: 4 kB / 0.5753 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.363e-05/0.1787, allocations: 7.984 kB / 0.5753 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.39e-05/0.1788, allocations: 4 kB / 0.5753 GB, free: 7.895 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.361e-05/0.1788, allocations: 0 / 0.5753 GB, free: 7.895 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/0.1788, allocations: 0 / 0.5753 GB, free: 7.895 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.779e-06/0.1788, allocations: 0 / 0.5753 GB, free: 7.895 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.1789, allocations: 8 kB / 0.5753 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.333e-06/0.1789, allocations: 3.984 kB / 0.5753 GB, free: 7.883 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.1789, allocations: 29.7 kB / 0.5754 GB, free: 7.848 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.25e-05/0.179, allocations: 3.984 kB / 0.5754 GB, free: 7.844 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.179, allocations: 0 / 0.5754 GB, free: 7.844 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.706e-06/0.179, allocations: 4 kB / 0.5754 GB, free: 7.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.179, allocations: 7.938 kB / 0.5754 GB, free: 7.832 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.0002465/0.1793, allocations: 307.4 kB / 0.5757 GB, free: 7.484 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1793, allocations: 16.03 kB / 0.5757 GB, free: 7.469 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.388e-05/0.1794, allocations: 30.56 kB / 0.5757 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.92e-05/0.1794, allocations: 3.953 kB / 0.5757 GB, free: 7.426 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.736e-05/0.1795, allocations: 159.1 kB / 0.5759 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1795, allocations: 4 kB / 0.5759 GB, free: 7.227 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.1795, allocations: 0 / 0.5759 GB, free: 7.227 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.557e-05/0.1796, allocations: 37.69 kB / 0.5759 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.1796, allocations: 0 / 0.5759 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.1796, allocations: 0 / 0.5759 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1796, allocations: 3.953 kB / 0.5759 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.28e-05/0.1797, allocations: 7.938 kB / 0.5759 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.1798, allocations: 149.7 kB / 0.5761 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.9e-05/0.1799, allocations: 22.59 kB / 0.5761 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.1801, allocations: 81.17 kB / 0.5762 GB, free: 6.848 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1801, allocations: 50.48 kB / 0.5762 GB, free: 6.789 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1801, allocations: 0 / 0.5762 GB, free: 6.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001411/0.1803, allocations: 37.64 kB / 0.5762 GB, free: 6.746 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.1803, allocations: 51.41 kB / 0.5763 GB, free: 6.684 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.853e-05/0.1804, allocations: 89.86 kB / 0.5764 GB, free: 6.586 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.1804, allocations: 29.7 kB / 0.5764 GB, free: 6.551 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.355e-05/0.1804, allocations: 80.14 kB / 0.5765 GB, free: 6.469 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.1804, allocations: 8.312 kB / 0.5765 GB, free: 6.461 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-06/0.1805, allocations: 4 kB / 0.5765 GB, free: 6.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.1806, allocations: 318.8 kB / 0.5768 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.1806, allocations: 0 / 0.5768 GB, free: 6.137 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-06/0.1806, allocations: 4 kB / 0.5768 GB, free: 6.133 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.891e-05/0.1806, allocations: 4 kB / 0.5768 GB, free: 6.129 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1806, allocations: 0 / 0.5768 GB, free: 6.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.556e-05/0.1807, allocations: 33.7 kB / 0.5768 GB, free: 6.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1807, allocations: 4.094 kB / 0.5768 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1807, allocations: 8 kB / 0.5769 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1807, allocations: 0 / 0.5769 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.41e-05/0.1808, allocations: 7.922 kB / 0.5769 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1808, allocations: 4 kB / 0.5769 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.391e-05/0.1808, allocations: 3.938 kB / 0.5769 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1808, allocations: 3.984 kB / 0.5769 GB, free: 6.059 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 6.956e-05/0.1809, allocations: 117.7 kB / 0.577 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-06/0.1809, allocations: 0 / 0.577 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.404e-05/0.181, allocations: 52.72 kB / 0.577 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.181, allocations: 0 / 0.577 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.181, allocations: 4 kB / 0.577 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.181, allocations: 0 / 0.577 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.573e-05/0.1811, allocations: 145.6 kB / 0.5772 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1811, allocations: 0 / 0.5772 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.1812, allocations: 7.984 kB / 0.5772 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1812, allocations: 3.938 kB / 0.5772 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.1812, allocations: 0 / 0.5772 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1812, allocations: 0 / 0.5772 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1812, allocations: 8.031 kB / 0.5772 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.695e-05/0.1813, allocations: 61.09 kB / 0.5773 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.1813, allocations: 85.09 kB / 0.5773 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.1813, allocations: 0 / 0.5773 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.096e-05/0.1813, allocations: 0 / 0.5773 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.1814, allocations: 0 / 0.5773 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-06/0.1814, allocations: 4 kB / 0.5773 GB, free: 5.473 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.114e-05/0.1814, allocations: 83.31 kB / 0.5774 GB, free: 5.391 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1814, allocations: 3.938 kB / 0.5774 GB, free: 5.387 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001826/0.1816, allocations: 8 kB / 0.5774 GB, free: 5.379 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.0003348/0.182, allocations: 0.5929 MB / 0.578 GB, free: 4.754 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.112e-05/0.182, allocations: 12.03 kB / 0.578 GB, free: 4.742 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.182, allocations: 0 / 0.578 GB, free: 4.742 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.254e-05/0.182, allocations: 11.98 kB / 0.578 GB, free: 4.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.991e-05/0.1821, allocations: 3.938 kB / 0.578 GB, free: 4.727 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.1824, allocations: 112.3 kB / 0.5781 GB, free: 4.574 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.1827, allocations: 0.677 MB / 0.5788 GB, free: 3.871 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.577e-05/0.1827, allocations: 8.125 kB / 0.5788 GB, free: 3.863 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.1827, allocations: 7.438 kB / 0.5788 GB, free: 3.855 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1827, allocations: 0 / 0.5788 GB, free: 3.855 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01021/0.1929, allocations: 0.8393 MB / 0.5796 GB, free: 3.191 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.1932, allocations: 204.8 kB / 0.5798 GB, free: 2.949 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/1.898, allocations: 0 / 0.5798 GB, free: 2.949 MB / 446.1 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat does not exist to compare? outputFormat=mat