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.0009901/0.0009901, allocations: 86.67 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.000816/0.000816, allocations: 178.5 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.609/1.609, allocations: 223.2 MB / 241.2 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.009/1.009, allocations: 120.5 MB / 412.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003275, allocations: 8 kB / 0.4943 GB, free: 11.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2241, allocations: 82.85 MB / 0.5753 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0005655/0.2247, allocations: 114.5 kB / 0.5754 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002085/0.225, allocations: 27.97 kB / 0.5754 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.225, allocations: 0 / 0.5754 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.2251, allocations: 7.938 kB / 0.5754 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.396e-05/0.2251, allocations: 0 / 0.5754 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.2253, allocations: 0 / 0.5754 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.726e-05/0.2254, allocations: 11.97 kB / 0.5754 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.653e-05/0.2254, allocations: 3.938 kB / 0.5754 GB, free: 7.883 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.2255, allocations: 0 / 0.5754 GB, free: 7.883 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.2255, allocations: 8 kB / 0.5754 GB, free: 7.875 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.2255, allocations: 0 / 0.5754 GB, free: 7.875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.267e-05/0.2256, allocations: 7.984 kB / 0.5754 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.574e-06/0.2256, allocations: 0 / 0.5754 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.2257, allocations: 29.64 kB / 0.5755 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.543e-05/0.2257, allocations: 8 kB / 0.5755 GB, free: 7.824 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.2257, allocations: 0 / 0.5755 GB, free: 7.824 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2258, allocations: 0 / 0.5755 GB, free: 7.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2258, allocations: 0 / 0.5755 GB, free: 7.824 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.0004514/0.2262, allocations: 319.4 kB / 0.5758 GB, free: 7.465 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.2263, allocations: 8.031 kB / 0.5758 GB, free: 7.457 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/0.2263, allocations: 30.56 kB / 0.5758 GB, free: 7.418 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.2264, allocations: 11.89 kB / 0.5758 GB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2265, allocations: 159.1 kB / 0.576 GB, free: 7.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.2265, allocations: 7.984 kB / 0.576 GB, free: 7.203 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.2265, allocations: 0 / 0.576 GB, free: 7.203 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.2267, allocations: 33.69 kB / 0.576 GB, free: 7.164 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2267, allocations: 0 / 0.576 GB, free: 7.164 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.2267, allocations: 0 / 0.576 GB, free: 7.164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2267, allocations: 3.953 kB / 0.576 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.098e-05/0.2268, allocations: 11.94 kB / 0.576 GB, free: 7.148 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.227, allocations: 141.7 kB / 0.5762 GB, free: 6.961 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.917e-05/0.227, allocations: 34.59 kB / 0.5762 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.2271, allocations: 4.859 kB / 0.5762 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.2273, allocations: 89.16 kB / 0.5763 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.2274, allocations: 30.56 kB / 0.5763 GB, free: 6.766 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.2274, allocations: 0 / 0.5763 GB, free: 6.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001891/0.2276, allocations: 41.64 kB / 0.5764 GB, free: 6.719 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.2276, allocations: 55.53 kB / 0.5764 GB, free: 6.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.431e-05/0.2277, allocations: 93.81 kB / 0.5765 GB, free: 6.551 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.2277, allocations: 25.7 kB / 0.5765 GB, free: 6.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.2278, allocations: 80.14 kB / 0.5766 GB, free: 6.438 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.2278, allocations: 16.11 kB / 0.5766 GB, free: 6.422 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.2278, allocations: 4 kB / 0.5766 GB, free: 6.418 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.228, allocations: 310.8 kB / 0.5769 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.228, allocations: 0 / 0.5769 GB, free: 6.105 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.138e-05/0.228, allocations: 4 kB / 0.5769 GB, free: 6.102 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.627e-05/0.2281, allocations: 4.062 kB / 0.5769 GB, free: 6.098 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2281, allocations: 4 kB / 0.5769 GB, free: 6.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.811e-05/0.2282, allocations: 41.64 kB / 0.577 GB, free: 6.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.2282, allocations: 7.984 kB / 0.577 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.2282, allocations: 0 / 0.577 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.2282, allocations: 0 / 0.577 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.2283, allocations: 4 kB / 0.577 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2283, allocations: 0 / 0.577 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.2283, allocations: 3.938 kB / 0.577 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2284, allocations: 3.984 kB / 0.577 GB, free: 6.027 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.0001046/0.2285, allocations: 113.8 kB / 0.5771 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-06/0.2285, allocations: 0 / 0.5771 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.2286, allocations: 48.72 kB / 0.5771 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2286, allocations: 0 / 0.5771 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2286, allocations: 0 / 0.5771 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2287, allocations: 3.938 kB / 0.5771 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.2288, allocations: 161.6 kB / 0.5773 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2288, allocations: 7.969 kB / 0.5773 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.2288, allocations: 0 / 0.5773 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2289, allocations: 0 / 0.5773 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2289, allocations: 4 kB / 0.5773 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2289, allocations: 0 / 0.5773 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2289, allocations: 0 / 0.5773 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.87e-05/0.229, allocations: 65.08 kB / 0.5774 GB, free: 5.543 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.229, allocations: 77.11 kB / 0.5774 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.2291, allocations: 8.031 kB / 0.5774 GB, free: 5.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.404e-05/0.2291, allocations: 4 kB / 0.5775 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.2291, allocations: 0 / 0.5775 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.2291, allocations: 0 / 0.5775 GB, free: 5.438 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.328e-05/0.2292, allocations: 75.28 kB / 0.5775 GB, free: 5.363 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.144e-06/0.2292, allocations: 0 / 0.5775 GB, free: 5.363 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.2294, allocations: 7.938 kB / 0.5775 GB, free: 5.355 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.0009705/0.2304, allocations: 0.6046 MB / 0.5781 GB, free: 4.719 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.2306, allocations: 7.984 kB / 0.5781 GB, free: 4.711 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.2306, allocations: 0 / 0.5781 GB, free: 4.711 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.156e-05/0.2307, allocations: 7.938 kB / 0.5781 GB, free: 4.703 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.2309, allocations: 4 kB / 0.5781 GB, free: 4.699 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/0.2313, allocations: 116.6 kB / 0.5783 GB, free: 4.543 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.2316, allocations: 0.6692 MB / 0.5789 GB, free: 3.848 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.886e-05/0.2316, allocations: 4 kB / 0.5789 GB, free: 3.844 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.2316, allocations: 7.438 kB / 0.5789 GB, free: 3.836 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2317, allocations: 0 / 0.5789 GB, free: 3.836 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.2455, allocations: 0.8554 MB / 0.5798 GB, free: 3.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004717/0.2461, allocations: 211.2 kB / 0.58 GB, free: 2.914 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.272, allocations: 0 / 0.58 GB, free: 2.914 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