Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",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.00099/0.0009899, allocations: 91.84 kB / 16.3 MB, free: 5.996 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.0009743/0.0009749, allocations: 187.8 kB / 17.2 MB, free: 5.91 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.425/1.425, allocations: 223.2 MB / 241.1 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.973/0.973, allocations: 120.5 MB / 412.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000588/0.0005883, allocations: 4 kB / 0.4942 GB, free: 11.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1929, allocations: 82.85 MB / 0.5752 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0005555/0.1935, allocations: 126.6 kB / 0.5753 GB, free: 7.926 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004299/0.1939, allocations: 205.9 kB / 0.5755 GB, free: 7.727 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.194, allocations: 3.938 kB / 0.5755 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.194, allocations: 3.938 kB / 0.5755 GB, free: 7.719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.1942, allocations: 4 kB / 0.5755 GB, free: 7.715 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.479e-05/0.1943, allocations: 15.97 kB / 0.5755 GB, free: 7.699 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.907e-05/0.1943, allocations: 11.98 kB / 0.5755 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.189e-05/0.1944, allocations: 0 / 0.5755 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.05e-05/0.1944, allocations: 11.92 kB / 0.5755 GB, free: 7.676 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.1945, allocations: 4 kB / 0.5755 GB, free: 7.672 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.1945, allocations: 4 kB / 0.5755 GB, free: 7.668 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.512e-05/0.1946, allocations: 19.97 kB / 0.5756 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.654e-06/0.1946, allocations: 0 / 0.5756 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.1946, allocations: 29.7 kB / 0.5756 GB, free: 7.613 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.493e-05/0.1947, allocations: 11.97 kB / 0.5756 GB, free: 7.602 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1947, allocations: 0 / 0.5756 GB, free: 7.602 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1947, allocations: 3.938 kB / 0.5756 GB, free: 7.598 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1947, allocations: 0 / 0.5756 GB, free: 7.598 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003918/0.1951, allocations: 327.4 kB / 0.5759 GB, free: 7.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1952, allocations: 12.03 kB / 0.5759 GB, free: 7.219 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.1952, allocations: 34.5 kB / 0.576 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.518e-05/0.1953, allocations: 7.859 kB / 0.576 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.1954, allocations: 167.3 kB / 0.5761 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1954, allocations: 0 / 0.5761 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1954, allocations: 0 / 0.5761 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.978e-05/0.1955, allocations: 37.69 kB / 0.5762 GB, free: 6.922 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1956, allocations: 0 / 0.5762 GB, free: 6.922 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1956, allocations: 4 kB / 0.5762 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1956, allocations: 3.953 kB / 0.5762 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.94e-05/0.1956, allocations: 11.98 kB / 0.5762 GB, free: 6.902 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.1958, allocations: 153.7 kB / 0.5763 GB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.196, allocations: 42.5 kB / 0.5764 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.1961, allocations: 4 kB / 0.5764 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.1961, allocations: 30.56 kB / 0.5764 GB, free: 6.609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1961, allocations: 3.938 kB / 0.5764 GB, free: 6.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000163/0.1963, allocations: 57.97 kB / 0.5765 GB, free: 6.543 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1963, allocations: 51.41 kB / 0.5765 GB, free: 6.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.735e-05/0.1964, allocations: 101.8 kB / 0.5766 GB, free: 6.371 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.1964, allocations: 25.7 kB / 0.5766 GB, free: 6.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.436e-05/0.1965, allocations: 84.14 kB / 0.5767 GB, free: 6.254 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.1965, allocations: 7.812 kB / 0.5767 GB, free: 6.246 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.1965, allocations: 0 / 0.5767 GB, free: 6.246 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1967, allocations: 319 kB / 0.577 GB, free: 5.926 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.1967, allocations: 11.98 kB / 0.577 GB, free: 5.914 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.2e-05/0.1967, allocations: 3.984 kB / 0.577 GB, free: 5.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.336e-05/0.1967, allocations: 12 kB / 0.577 GB, free: 5.898 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1967, allocations: 0 / 0.577 GB, free: 5.898 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.536e-05/0.1968, allocations: 45.69 kB / 0.5771 GB, free: 5.848 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1968, allocations: 5.719 kB / 0.5771 GB, free: 5.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1969, allocations: 4 kB / 0.5771 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1969, allocations: 7.875 kB / 0.5771 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.411e-05/0.1969, allocations: 7.984 kB / 0.5771 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1969, allocations: 0 / 0.5771 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.197, allocations: 4 kB / 0.5771 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.197, allocations: 7.953 kB / 0.5771 GB, free: 5.812 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 (4): * Single equations (assignments): 4 * 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 7.702e-05/0.1971, allocations: 109.8 kB / 0.5772 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-06/0.1971, allocations: 0 / 0.5772 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.1972, allocations: 69.17 kB / 0.5773 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1972, allocations: 4 kB / 0.5773 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1973, allocations: 4 kB / 0.5773 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1973, allocations: 0 / 0.5773 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.1974, allocations: 165.5 kB / 0.5775 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1974, allocations: 3.938 kB / 0.5775 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.712e-05/0.1975, allocations: 16.05 kB / 0.5775 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1975, allocations: 0 / 0.5775 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1975, allocations: 0 / 0.5775 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1975, allocations: 0 / 0.5775 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1975, allocations: 0 / 0.5775 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.1977, allocations: 105.1 kB / 0.5776 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.1977, allocations: 85.03 kB / 0.5777 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.1977, allocations: 0 / 0.5777 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.823e-05/0.1978, allocations: 0 / 0.5777 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.1978, allocations: 8 kB / 0.5777 GB, free: 5.145 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1978, allocations: 0 / 0.5777 GB, free: 5.145 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.61e-05/0.1978, allocations: 83.22 kB / 0.5777 GB, free: 5.062 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1978, allocations: 0 / 0.5777 GB, free: 5.062 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001898/0.198, allocations: 15.92 kB / 0.5778 GB, free: 5.047 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (6): * Single equations (assignments): 6 * 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.0004481/0.1985, allocations: 0.6438 MB / 0.5784 GB, free: 4.371 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.737e-05/0.1986, allocations: 23.94 kB / 0.5784 GB, free: 4.348 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1986, allocations: 0 / 0.5784 GB, free: 4.348 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.471e-05/0.1986, allocations: 19.98 kB / 0.5784 GB, free: 4.328 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.1988, allocations: 4 kB / 0.5784 GB, free: 4.324 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.1993, allocations: 378.8 kB / 0.5788 GB, free: 3.902 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.1996, allocations: 0.6848 MB / 0.5795 GB, free: 3.191 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.815e-05/0.1996, allocations: 8 kB / 0.5795 GB, free: 3.184 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.1997, allocations: 11.44 kB / 0.5795 GB, free: 3.172 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1997, allocations: 0 / 0.5795 GB, free: 3.172 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.2118, allocations: 1.245 MB / 0.5807 GB, free: 2.098 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.2121, allocations: 213.2 kB / 0.5809 GB, free: 1.855 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/1.994, allocations: 0 / 0.5809 GB, free: 1.855 MB / 446.1 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat does not exist to compare? outputFormat=mat