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.001052/0.001052, allocations: 88.39 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.0008851/0.0008851, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.539/1.539, allocations: 223.3 MB / 241.2 MB, free: 5.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.001/1.001, allocations: 120.5 MB / 412.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003421, allocations: 8 kB / 0.4943 GB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2101, allocations: 82.85 MB / 0.5753 GB, free: 8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0005734/0.2108, allocations: 122.5 kB / 0.5754 GB, free: 7.883 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004926/0.2113, allocations: 225.8 kB / 0.5756 GB, free: 7.664 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.2113, allocations: 0 / 0.5756 GB, free: 7.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.2114, allocations: 0 / 0.5756 GB, free: 7.664 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.2115, allocations: 7.922 kB / 0.5756 GB, free: 7.656 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.814e-05/0.2116, allocations: 19.97 kB / 0.5756 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.582e-05/0.2117, allocations: 7.938 kB / 0.5756 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.2117, allocations: 4 kB / 0.5756 GB, free: 7.625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.832e-05/0.2118, allocations: 0 / 0.5756 GB, free: 7.625 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.2118, allocations: 11.97 kB / 0.5756 GB, free: 7.613 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.2118, allocations: 4 kB / 0.5756 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.137e-05/0.2119, allocations: 19.98 kB / 0.5757 GB, free: 7.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.2119, allocations: 7.938 kB / 0.5757 GB, free: 7.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.212, allocations: 25.7 kB / 0.5757 GB, free: 7.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.091e-05/0.212, allocations: 11.98 kB / 0.5757 GB, free: 7.539 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.212, allocations: 0 / 0.5757 GB, free: 7.539 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.212, allocations: 0 / 0.5757 GB, free: 7.539 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.2121, allocations: 0 / 0.5757 GB, free: 7.539 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.0006622/0.2127, allocations: 319.4 kB / 0.576 GB, free: 7.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.2128, allocations: 8.031 kB / 0.576 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.2128, allocations: 38.56 kB / 0.5761 GB, free: 7.125 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.2128, allocations: 7.859 kB / 0.5761 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.213, allocations: 171.3 kB / 0.5762 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.213, allocations: 0 / 0.5762 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.213, allocations: 0 / 0.5762 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.2131, allocations: 41.62 kB / 0.5763 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.2132, allocations: 3.938 kB / 0.5763 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2132, allocations: 4 kB / 0.5763 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2132, allocations: 3.953 kB / 0.5763 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.509e-05/0.2132, allocations: 8 kB / 0.5763 GB, free: 6.844 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.2134, allocations: 153.7 kB / 0.5764 GB, free: 6.645 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.2136, allocations: 38.61 kB / 0.5765 GB, free: 6.598 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.704e-05/0.2137, allocations: 13 kB / 0.5765 GB, free: 6.582 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.2137, allocations: 7.984 kB / 0.5765 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.2138, allocations: 34.5 kB / 0.5765 GB, free: 6.531 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2138, allocations: 4 kB / 0.5765 GB, free: 6.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001548/0.2139, allocations: 49.69 kB / 0.5766 GB, free: 6.473 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.214, allocations: 51.41 kB / 0.5766 GB, free: 6.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.444e-05/0.214, allocations: 101.8 kB / 0.5767 GB, free: 6.301 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.2141, allocations: 25.7 kB / 0.5767 GB, free: 6.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.2141, allocations: 92.06 kB / 0.5768 GB, free: 6.176 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.2141, allocations: 7.812 kB / 0.5768 GB, free: 6.168 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.2141, allocations: 0 / 0.5768 GB, free: 6.168 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.2143, allocations: 319 kB / 0.5771 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.2143, allocations: 4 kB / 0.5771 GB, free: 5.844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.452e-05/0.2143, allocations: 7.984 kB / 0.5772 GB, free: 5.836 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.641e-05/0.2144, allocations: 15.94 kB / 0.5772 GB, free: 5.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2144, allocations: 0 / 0.5772 GB, free: 5.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.027e-05/0.2145, allocations: 45.69 kB / 0.5772 GB, free: 5.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2145, allocations: 4 kB / 0.5772 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2145, allocations: 0 / 0.5772 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2145, allocations: 4 kB / 0.5772 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.08e-05/0.2146, allocations: 4 kB / 0.5772 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2146, allocations: 7.984 kB / 0.5772 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.2146, allocations: 3.953 kB / 0.5772 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.2146, allocations: 4 kB / 0.5772 GB, free: 5.742 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 8.764e-05/0.2147, allocations: 109.8 kB / 0.5773 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-06/0.2147, allocations: 0 / 0.5773 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.2149, allocations: 73.11 kB / 0.5774 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2149, allocations: 4 kB / 0.5774 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2149, allocations: 4 kB / 0.5774 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2149, allocations: 0 / 0.5774 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.215, allocations: 169.5 kB / 0.5776 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.215, allocations: 0 / 0.5776 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.2151, allocations: 8 kB / 0.5776 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2151, allocations: 0 / 0.5776 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.2151, allocations: 3.984 kB / 0.5776 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2151, allocations: 4.062 kB / 0.5776 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2151, allocations: 0 / 0.5776 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.2153, allocations: 105 kB / 0.5777 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.2154, allocations: 85.08 kB / 0.5778 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.2154, allocations: 0 / 0.5778 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.279e-05/0.2154, allocations: 7.984 kB / 0.5778 GB, free: 5.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.2154, allocations: 4 kB / 0.5778 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.2154, allocations: 0 / 0.5778 GB, free: 5.066 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.474e-05/0.2155, allocations: 79.28 kB / 0.5779 GB, free: 4.988 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2155, allocations: 0 / 0.5779 GB, free: 4.988 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000212/0.2157, allocations: 8.156 kB / 0.5779 GB, free: 4.98 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.0004616/0.2162, allocations: 0.6436 MB / 0.5785 GB, free: 4.305 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.2165, allocations: 23.98 kB / 0.5785 GB, free: 4.281 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/0.2165, allocations: 3.938 kB / 0.5785 GB, free: 4.277 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/0.2166, allocations: 23.92 kB / 0.5785 GB, free: 4.254 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.2167, allocations: 8.062 kB / 0.5786 GB, free: 4.246 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005616/0.2173, allocations: 366.8 kB / 0.5789 GB, free: 3.836 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.2176, allocations: 0.6809 MB / 0.5796 GB, free: 3.129 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.199e-05/0.2176, allocations: 11.91 kB / 0.5796 GB, free: 3.117 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.2176, allocations: 15.42 kB / 0.5796 GB, free: 3.102 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2177, allocations: 4 kB / 0.5796 GB, free: 3.098 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.2312, allocations: 1.266 MB / 0.5808 GB, free: 2.008 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/0.2315, allocations: 214.1 kB / 0.581 GB, free: 1.766 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.102, allocations: 0 / 0.581 GB, free: 1.766 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