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.8902/0.8902, allocations: 127.1 MB / 142 MB, free: 10.65 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.001155/0.001155, allocations: 103.1 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.001122/0.001122, allocations: 175.4 kB / 196.6 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.708/1.708, allocations: 223.1 MB / 446.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1094/0.1094, allocations: 22.57 MB / 0.5342 GB, free: 296 kB / 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.0004785/0.0004786, allocations: 15.47 kB / 0.6274 GB, free: 80.82 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1757, allocations: 83.47 MB / 0.7089 GB, free: 4.648 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain): time 0.001822/0.1775, allocations: 1.769 MB / 0.7106 GB, free: 2.863 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008213/0.1784, allocations: 0.5849 MB / 0.7112 GB, free: 2.273 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.1784, allocations: 0 / 0.7112 GB, free: 2.273 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.1785, allocations: 3.938 kB / 0.7112 GB, free: 2.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.5e-05/0.1785, allocations: 15.95 kB / 0.7112 GB, free: 2.254 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.1788, allocations: 75.78 kB / 0.7113 GB, free: 2.18 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 8.773e-05/0.1789, allocations: 51.86 kB / 0.7113 GB, free: 2.129 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.179, allocations: 12 kB / 0.7114 GB, free: 2.117 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.1791, allocations: 27.91 kB / 0.7114 GB, free: 2.09 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.48e-05/0.1792, allocations: 35.83 kB / 0.7114 GB, free: 2.055 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.1792, allocations: 4 kB / 0.7114 GB, free: 2.051 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.1794, allocations: 167.7 kB / 0.7116 GB, free: 1.887 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.1795, allocations: 7.938 kB / 0.7116 GB, free: 1.879 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.1795, allocations: 33.64 kB / 0.7116 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.1796, allocations: 88.06 kB / 0.7117 GB, free: 1.754 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1796, allocations: 0 / 0.7117 GB, free: 1.754 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1796, allocations: 0 / 0.7117 GB, free: 1.754 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1796, allocations: 0 / 0.7117 GB, free: 1.754 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.0005545/0.1802, allocations: 430.9 kB / 0.7121 GB, free: 1.285 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1802, allocations: 16.02 kB / 0.7121 GB, free: 1.27 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.1803, allocations: 30.56 kB / 0.7122 GB, free: 1.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.1803, allocations: 11.91 kB / 0.7122 GB, free: 1.219 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.912e-05/0.1804, allocations: 171 kB / 0.7123 GB, free: 1.012 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.1804, allocations: 12 kB / 0.7123 GB, free: 1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.1805, allocations: 7.938 kB / 0.7124 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.1808, allocations: 125.5 kB / 0.7125 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1808, allocations: 3.953 kB / 0.7125 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1808, allocations: 0 / 0.7125 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1808, allocations: 0 / 0.7125 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.1813, allocations: 151.9 kB / 0.7126 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.1816, allocations: 308.7 kB / 0.7129 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.1819, allocations: 94.52 kB / 0.713 GB, free: 264 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.1819, allocations: 3.984 kB / 0.713 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.1819, allocations: 30.56 kB / 0.713 GB, free: 220 kB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.182, allocations: 0 / 0.713 GB, free: 220 kB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008351/0.1828, allocations: 269.6 kB / 0.7133 GB, free: 15.95 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.1829, allocations: 51.41 kB / 0.7133 GB, free: 15.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.183, allocations: 131.9 kB / 0.7135 GB, free: 15.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.183, allocations: 25.7 kB / 0.7135 GB, free: 15.71 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.1831, allocations: 96.05 kB / 0.7136 GB, free: 15.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.1831, allocations: 27.73 kB / 0.7136 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.1831, allocations: 0 / 0.7136 GB, free: 15.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1833, allocations: 314.8 kB / 0.7139 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.1835, allocations: 71.94 kB / 0.714 GB, free: 15.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.1838, allocations: 71.94 kB / 0.714 GB, free: 15.13 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.184, allocations: 75.94 kB / 0.7141 GB, free: 15.06 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.184, allocations: 0 / 0.7141 GB, free: 15.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005617/0.1846, allocations: 197.3 kB / 0.7143 GB, free: 14.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1846, allocations: 8 kB / 0.7143 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1846, allocations: 4 kB / 0.7143 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1847, allocations: 0 / 0.7143 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.1849, allocations: 31.97 kB / 0.7144 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1849, allocations: 3.984 kB / 0.7144 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.185, allocations: 35.97 kB / 0.7144 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.185, allocations: 4 kB / 0.7144 GB, free: 14.77 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 9.832e-05/0.1851, allocations: 109.8 kB / 0.7145 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.1852, allocations: 11.86 kB / 0.7145 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000603/0.1858, allocations: 210.2 kB / 0.7147 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1858, allocations: 3.938 kB / 0.7147 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.1858, allocations: 4.062 kB / 0.7147 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1858, allocations: 3.984 kB / 0.7147 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.186, allocations: 185.6 kB / 0.7149 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.186, allocations: 0 / 0.7149 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.1862, allocations: 39.97 kB / 0.7149 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1862, allocations: 3.953 kB / 0.7149 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1862, allocations: 4 kB / 0.7149 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1863, allocations: 0 / 0.7149 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1863, allocations: 0 / 0.7149 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006448/0.1869, allocations: 295.3 kB / 0.7152 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.187, allocations: 81.02 kB / 0.7153 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.187, allocations: 3.953 kB / 0.7153 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.1872, allocations: 31.97 kB / 0.7153 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.461e-05/0.1873, allocations: 11.98 kB / 0.7153 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.1873, allocations: 4 kB / 0.7154 GB, free: 13.69 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.208e-05/0.1874, allocations: 101.1 kB / 0.7154 GB, free: 13.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1874, allocations: 0 / 0.7154 GB, free: 13.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1877, allocations: 24 kB / 0.7155 GB, free: 13.57 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.001053/0.1888, allocations: 0.8139 MB / 0.7163 GB, free: 12.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005847/0.1893, allocations: 163.8 kB / 0.7164 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1894, allocations: 0 / 0.7164 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.1896, allocations: 79.94 kB / 0.7165 GB, free: 12.49 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.1899, allocations: 15.94 kB / 0.7165 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/0.1906, allocations: 250.7 kB / 0.7168 GB, free: 12.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.1909, allocations: 0.6926 MB / 0.7174 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.826e-05/0.1909, allocations: 12.36 kB / 0.7174 GB, free: 11.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.191, allocations: 27.42 kB / 0.7175 GB, free: 11.43 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.191, allocations: 0 / 0.7175 GB, free: 11.43 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.2038, allocations: 1.995 MB / 0.7194 GB, free: 9.574 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.204, allocations: 184.1 kB / 0.7196 GB, free: 9.336 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/1.995, allocations: 3.125 kB / 0.7196 GB, free: 9.336 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