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("/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/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 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) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 221.5 MB / 229.6 MB, free: 3.184 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 95.91 kB / 280.5 MB, free: 1.18 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1032/0.1032, allocations: 20.17 MB / 351.4 MB, free: 10.23 MB / 298.7 MB [/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: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/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: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/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 1.4/1.4, allocations: 127.6 MB / 0.5233 GB, free: 4.371 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.03e-05, allocations: 4 kB / 0.6111 GB, free: 10.28 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5436/0.5436, allocations: 82.84 MB / 0.692 GB, free: 33.91 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1814/0.725, allocations: 119.1 MB / 0.8083 GB, free: 6.359 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.7253, allocations: 91.12 kB / 0.8084 GB, free: 6.273 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01012/0.7355, allocations: 3.012 MB / 0.8113 GB, free: 3.332 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7355, allocations: 0 / 0.8113 GB, free: 3.332 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.7356, allocations: 0 / 0.8113 GB, free: 3.332 MB / 0.5418 GB 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.0007037/0.7363, allocations: 430.4 kB / 0.8117 GB, free: 2.871 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.7363, allocations: 8.031 kB / 0.8118 GB, free: 2.863 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.7364, allocations: 11.86 kB / 0.8118 GB, free: 2.852 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.7366, allocations: 174.9 kB / 0.8119 GB, free: 2.641 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.7366, allocations: 1.406 kB / 0.8119 GB, free: 2.641 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.7366, allocations: 3.094 kB / 0.8119 GB, free: 2.641 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001484/0.7368, allocations: 35.94 kB / 0.812 GB, free: 2.605 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.7369, allocations: 57.67 kB / 0.812 GB, free: 2.543 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.7369, allocations: 1.406 kB / 0.812 GB, free: 2.543 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.737, allocations: 0 / 0.812 GB, free: 2.543 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.737, allocations: 0 / 0.812 GB, free: 2.543 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.7375, allocations: 291.2 kB / 0.8123 GB, free: 2.227 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 7.726e-05/0.7376, allocations: 38.52 kB / 0.8123 GB, free: 2.18 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.7377, allocations: 23.16 kB / 0.8124 GB, free: 2.156 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.7377, allocations: 4 kB / 0.8124 GB, free: 2.152 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.7377, allocations: 30.56 kB / 0.8124 GB, free: 2.113 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.7377, allocations: 0 / 0.8124 GB, free: 2.113 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5): time 0.000428/0.7382, allocations: 102.6 kB / 0.8125 GB, free: 2.008 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.7382, allocations: 59.34 kB / 0.8125 GB, free: 1.938 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.7384, allocations: 115.8 kB / 0.8127 GB, free: 1.816 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.7384, allocations: 26.33 kB / 0.8127 GB, free: 1.785 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.7385, allocations: 96.69 kB / 0.8128 GB, free: 1.688 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.7385, allocations: 11.75 kB / 0.8128 GB, free: 1.676 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.7385, allocations: 2.469 kB / 0.8128 GB, free: 1.676 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.7387, allocations: 322.8 kB / 0.8131 GB, free: 1.352 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.525e-05/0.7387, allocations: 12 kB / 0.8131 GB, free: 1.34 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.333e-05/0.7388, allocations: 16 kB / 0.8131 GB, free: 1.324 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.7389, allocations: 39.95 kB / 0.8132 GB, free: 1.285 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7389, allocations: 0.5625 kB / 0.8132 GB, free: 1.285 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002454/0.7392, allocations: 99.05 kB / 0.8133 GB, free: 1.184 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.7392, allocations: 4 kB / 0.8133 GB, free: 1.18 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7392, allocations: 6.375 kB / 0.8133 GB, free: 1.176 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.7393, allocations: 0 / 0.8133 GB, free: 1.176 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.7395, allocations: 36.47 kB / 0.8133 GB, free: 1.141 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.7395, allocations: 10.36 kB / 0.8133 GB, free: 1.133 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.7397, allocations: 30.78 kB / 0.8133 GB, free: 1.105 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.7397, allocations: 4 kB / 0.8133 GB, free: 1.102 MB / 0.5418 GB 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 () * 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.613e-05/0.7398, allocations: 105.9 kB / 0.8134 GB, free: 0.9922 MB / 0.5418 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002543/0.74, allocations: 98.86 kB / 0.8135 GB, free: 0.8906 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.7401, allocations: 8.719 kB / 0.8135 GB, free: 0.8828 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.7404, allocations: 114 kB / 0.8137 GB, free: 0.7656 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.7404, allocations: 8.453 kB / 0.8137 GB, free: 0.7578 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7404, allocations: 1.25 kB / 0.8137 GB, free: 0.7578 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.7404, allocations: 0 / 0.8137 GB, free: 0.7578 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.7406, allocations: 166.2 kB / 0.8138 GB, free: 0.5586 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.7406, allocations: 0.875 kB / 0.8138 GB, free: 0.5586 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.7408, allocations: 39.84 kB / 0.8139 GB, free: 0.5234 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.7408, allocations: 0 / 0.8139 GB, free: 0.5234 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.7408, allocations: 7.922 kB / 0.8139 GB, free: 0.5156 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.7408, allocations: 4 kB / 0.8139 GB, free: 0.5117 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.7409, allocations: 1.812 kB / 0.8139 GB, free: 0.5117 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.7412, allocations: 206.3 kB / 0.8141 GB, free: 308 kB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.7412, allocations: 92.94 kB / 0.8142 GB, free: 196 kB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.7413, allocations: 0 / 0.8142 GB, free: 196 kB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.7414, allocations: 29.16 kB / 0.8142 GB, free: 168 kB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.7415, allocations: 7.984 kB / 0.8142 GB, free: 160 kB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.7415, allocations: 3.938 kB / 0.8142 GB, free: 156 kB / 0.5418 GB Notification: Performance of sorting global known variables: time 6.272e-05/0.7416, allocations: 101.2 kB / 0.8143 GB, free: 56 kB / 0.5418 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7416, allocations: 0 / 0.8143 GB, free: 56 kB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002562/0.7419, allocations: 27.89 kB / 0.8143 GB, free: 28 kB / 0.5418 GB 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 () * 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.0007278/0.7426, allocations: 0.7382 MB / 0.815 GB, free: 15.26 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.7428, allocations: 50.73 kB / 0.8151 GB, free: 15.21 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7428, allocations: 0 / 0.8151 GB, free: 15.21 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 5.213e-05/0.7428, allocations: 24 kB / 0.8151 GB, free: 15.19 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.743, allocations: 5.25 kB / 0.8151 GB, free: 15.19 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.7435, allocations: 147.3 kB / 0.8153 GB, free: 15.01 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.7439, allocations: 0.6977 MB / 0.8159 GB, free: 14.29 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 4.972e-05/0.7439, allocations: 5.125 kB / 0.8159 GB, free: 14.28 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.744, allocations: 23.42 kB / 0.816 GB, free: 14.26 MB / 0.5574 GB Notification: Performance of SimCode: time 2.4e-07/0.744, allocations: 0 / 0.816 GB, free: 14.26 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.768, allocations: 1.644 MB / 0.8176 GB, free: 12.7 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003344/0.7684, allocations: 144.1 kB / 0.8177 GB, free: 12.51 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.487, allocations: 1.312 kB / 0.8177 GB, free: 12.51 MB / 0.5574 GB (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) 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