Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.conf.json loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) 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/TILMedia 1.8.1-main/package.mo", uses=false) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/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) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain",fmuType="me",version="2.0",platforms={"static"}) [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Components/Sensors/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TinySensorGas_L1_O2dry [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/PressureLoss/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ShellType_L2 ShellType_L3 TubeType_L3 TubeType_L2 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/HeatTransport/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: ShellType_L2 ShellType_L3 TubeType_L3 TubeType_L2 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/FluidVolumes/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: VolumeVLE_2 VolumeVLE_3_TwoZones Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.906/0.906, allocations: 127.1 MB / 142.1 MB, free: 10.86 MB / 126.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008165/0.0008164, allocations: 97.83 kB / 169.3 MB, free: 11.8 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 185.5 kB / 196.7 MB, free: 0.625 MB / 158.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 223.2 MB / 447.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1241/0.1241, allocations: 22.59 MB / 0.5344 GB, free: 0.6641 MB / 398.1 MB Warning: Requested package TILMedia of version 1.8.0 ClaRa, but this package was already loaded with version 1.8.1 ClaRa. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004476, allocations: 11.91 kB / 0.6275 GB, free: 80.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1723, allocations: 83.48 MB / 0.7091 GB, free: 4.652 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.001926/0.1743, allocations: 1.773 MB / 0.7108 GB, free: 2.859 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.1752, allocations: 0.5771 MB / 0.7114 GB, free: 2.277 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.1753, allocations: 4 kB / 0.7114 GB, free: 2.273 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.1754, allocations: 3.938 kB / 0.7114 GB, free: 2.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.024e-05/0.1754, allocations: 15.86 kB / 0.7114 GB, free: 2.254 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.1758, allocations: 67.84 kB / 0.7114 GB, free: 2.188 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.1759, allocations: 71.77 kB / 0.7115 GB, free: 2.117 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.176, allocations: 23.92 kB / 0.7115 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1761, allocations: 31.84 kB / 0.7116 GB, free: 2.062 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.1762, allocations: 31.84 kB / 0.7116 GB, free: 2.031 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1762, allocations: 4 kB / 0.7116 GB, free: 2.027 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.1764, allocations: 155.7 kB / 0.7118 GB, free: 1.875 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.1765, allocations: 11.92 kB / 0.7118 GB, free: 1.863 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.1765, allocations: 37.64 kB / 0.7118 GB, free: 1.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1766, allocations: 92.06 kB / 0.7119 GB, free: 1.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1767, allocations: 0 / 0.7119 GB, free: 1.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1767, allocations: 0 / 0.7119 GB, free: 1.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1767, allocations: 4 kB / 0.7119 GB, free: 1.727 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005512/0.1772, allocations: 426.9 kB / 0.7123 GB, free: 1.262 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1773, allocations: 12.02 kB / 0.7123 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.1773, allocations: 38.56 kB / 0.7123 GB, free: 1.203 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.1774, allocations: 7.906 kB / 0.7124 GB, free: 1.195 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.109e-05/0.1775, allocations: 176.9 kB / 0.7125 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1775, allocations: 4 kB / 0.7125 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.1775, allocations: 0 / 0.7125 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.1778, allocations: 121.6 kB / 0.7126 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1779, allocations: 4 kB / 0.7126 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1779, allocations: 7.953 kB / 0.7127 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.1779, allocations: 0 / 0.7127 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.1783, allocations: 151.8 kB / 0.7128 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.1786, allocations: 308.8 kB / 0.7131 GB, free: 352 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.1789, allocations: 98.5 kB / 0.7132 GB, free: 244 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.1791, allocations: 80.92 kB / 0.7133 GB, free: 160 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1791, allocations: 8 kB / 0.7133 GB, free: 152 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.1791, allocations: 34.56 kB / 0.7133 GB, free: 108 kB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.703e-06/0.1791, allocations: 0 / 0.7133 GB, free: 108 kB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007549/0.1799, allocations: 265.3 kB / 0.7136 GB, free: 15.84 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.1799, allocations: 51.41 kB / 0.7136 GB, free: 15.78 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1801, allocations: 130 kB / 0.7137 GB, free: 15.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1801, allocations: 25.7 kB / 0.7138 GB, free: 15.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.1802, allocations: 100 kB / 0.7139 GB, free: 15.51 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.1802, allocations: 15.73 kB / 0.7139 GB, free: 15.49 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.1802, allocations: 7.938 kB / 0.7139 GB, free: 15.48 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1804, allocations: 314.8 kB / 0.7142 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.1806, allocations: 75.94 kB / 0.7142 GB, free: 15.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.1808, allocations: 71.94 kB / 0.7143 GB, free: 15.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.181, allocations: 75.94 kB / 0.7144 GB, free: 14.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1811, allocations: 0 / 0.7144 GB, free: 14.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004728/0.1815, allocations: 197.4 kB / 0.7146 GB, free: 14.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1816, allocations: 5.719 kB / 0.7146 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1816, allocations: 0 / 0.7146 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1816, allocations: 4 kB / 0.7146 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.1818, allocations: 31.97 kB / 0.7146 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1818, allocations: 4 kB / 0.7146 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.182, allocations: 27.97 kB / 0.7146 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.182, allocations: 0 / 0.7146 GB, free: 14.68 MB / 478.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 (5): * Single equations (assignments): 5 * 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.807e-05/0.1821, allocations: 118.4 kB / 0.7148 GB, free: 14.55 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.1821, allocations: 11.86 kB / 0.7148 GB, free: 14.54 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005314/0.1826, allocations: 206.4 kB / 0.715 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1827, allocations: 0 / 0.715 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1827, allocations: 0 / 0.715 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1827, allocations: 0 / 0.715 GB, free: 14.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.1829, allocations: 201.6 kB / 0.7152 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1829, allocations: 0 / 0.7152 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.1831, allocations: 35.97 kB / 0.7152 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.1831, allocations: 3.953 kB / 0.7152 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.1831, allocations: 3.938 kB / 0.7152 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1831, allocations: 0 / 0.7152 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1831, allocations: 4 kB / 0.7152 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005371/0.1837, allocations: 287.3 kB / 0.7155 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.1837, allocations: 85.02 kB / 0.7156 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.1837, allocations: 3.953 kB / 0.7156 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.1839, allocations: 35.91 kB / 0.7156 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.184, allocations: 7.984 kB / 0.7156 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.184, allocations: 0 / 0.7156 GB, free: 13.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.189e-05/0.184, allocations: 107.3 kB / 0.7157 GB, free: 13.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1841, allocations: 0 / 0.7157 GB, free: 13.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1843, allocations: 19.98 kB / 0.7157 GB, free: 13.48 MB / 478.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 (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.0008906/0.1852, allocations: 0.8216 MB / 0.7165 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005003/0.1857, allocations: 155.9 kB / 0.7167 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1857, allocations: 0 / 0.7167 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.186, allocations: 87.88 kB / 0.7168 GB, free: 12.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.1863, allocations: 21.45 kB / 0.7168 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.1869, allocations: 250.7 kB / 0.717 GB, free: 12.08 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.1872, allocations: 0.6926 MB / 0.7177 GB, free: 11.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.354e-05/0.1873, allocations: 7.984 kB / 0.7177 GB, free: 11.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.1874, allocations: 15.44 kB / 0.7177 GB, free: 11.34 MB / 478.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1874, allocations: 0 / 0.7177 GB, free: 11.34 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.2016, allocations: 2.027 MB / 0.7197 GB, free: 9.469 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/0.2019, allocations: 194.1 kB / 0.7199 GB, free: 9.227 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.085, allocations: 0 / 0.7199 GB, free: 9.227 MB / 478.1 MB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain_res.mat does not exist to compare? outputFormat=mat