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: translateModel(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y|ramp1.duration|ramp1.height|ramp1.offset|ramp1.startTime|ramp1.y|ramp2.duration|ramp2.height|ramp2.offset|ramp2.startTime|ramp2.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|stepSmootherGain.func|stepSmootherGain.noFunc|stepSmootherGain.u|stepSmootherGain.x|stepSmootherGain.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|ramp.duration|ramp.height|ramp.offset|ramp.startTime|ramp.y|ramp1.duration|ramp1.height|ramp1.offset|ramp1.startTime|ramp1.y|ramp2.duration|ramp2.height|ramp2.offset|ramp2.startTime|ramp2.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|stepSmootherGain.func|stepSmootherGain.noFunc|stepSmootherGain.u|stepSmootherGain.x|stepSmootherGain.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008808/0.0008808, allocations: 86.47 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09545/0.09545, allocations: 20.17 MB / 356.7 MB, free: 5.906 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: ShellType_L3 TubeType_L2 TubeType_L3 ShellType_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_L3 TubeType_L2 TubeType_L3 ShellType_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 1.207/1.207, allocations: 127.5 MB / 0.5284 GB, free: 15.89 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 3.82e-05/3.845e-05, allocations: 4.219 kB / 0.618 GB, free: 4 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5562/0.5563, allocations: 82.84 MB / 0.6989 GB, free: 32.13 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.7376, allocations: 119.7 MB / 0.8158 GB, free: 1.469 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/0.738, allocations: 91.86 kB / 0.8159 GB, free: 1.383 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01099/0.7491, allocations: 3.021 MB / 0.8188 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.805e-06/0.7491, allocations: 1.312 kB / 0.8188 GB, free: 14.43 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.7491, allocations: 0 / 0.8188 GB, free: 14.43 MB / 0.5574 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.0007686/0.7499, allocations: 421.9 kB / 0.8192 GB, free: 13.98 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.75, allocations: 9.938 kB / 0.8192 GB, free: 13.97 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.773e-05/0.7501, allocations: 15.86 kB / 0.8193 GB, free: 13.96 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.7503, allocations: 182.8 kB / 0.8194 GB, free: 13.74 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.7503, allocations: 7.906 kB / 0.8194 GB, free: 13.73 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.7503, allocations: 4 kB / 0.8194 GB, free: 13.73 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.7506, allocations: 61.67 kB / 0.8195 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.7506, allocations: 0 / 0.8195 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.7506, allocations: 0 / 0.8195 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.7507, allocations: 4 kB / 0.8195 GB, free: 13.66 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.7508, allocations: 35.94 kB / 0.8195 GB, free: 13.62 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00065/0.7514, allocations: 309.9 kB / 0.8198 GB, free: 13.27 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 9.485e-05/0.7515, allocations: 38.61 kB / 0.8199 GB, free: 13.23 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.7516, allocations: 26.98 kB / 0.8199 GB, free: 13.2 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.7516, allocations: 3.984 kB / 0.8199 GB, free: 13.2 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.7517, allocations: 30.56 kB / 0.8199 GB, free: 13.16 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.7517, allocations: 0.5625 kB / 0.8199 GB, free: 13.16 MB / 0.5574 GB Notification: Performance of matching and sorting (n=5): time 0.0002776/0.752, allocations: 77.64 kB / 0.82 GB, free: 13.07 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.752, allocations: 52.91 kB / 0.8201 GB, free: 13.01 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.7522, allocations: 123.1 kB / 0.8202 GB, free: 12.88 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.7522, allocations: 25.7 kB / 0.8202 GB, free: 12.85 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.7523, allocations: 97.91 kB / 0.8203 GB, free: 12.75 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.7523, allocations: 11.75 kB / 0.8203 GB, free: 12.74 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.7524, allocations: 4 kB / 0.8203 GB, free: 12.74 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.7525, allocations: 319.5 kB / 0.8206 GB, free: 12.42 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.138e-05/0.7526, allocations: 16 kB / 0.8206 GB, free: 12.4 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.835e-05/0.7526, allocations: 20.78 kB / 0.8206 GB, free: 12.38 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.738e-05/0.7527, allocations: 12 kB / 0.8207 GB, free: 12.37 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7527, allocations: 0.8438 kB / 0.8207 GB, free: 12.37 MB / 0.5574 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001591/0.7529, allocations: 77.59 kB / 0.8207 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.7529, allocations: 8.125 kB / 0.8207 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7529, allocations: 0 / 0.8207 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.7529, allocations: 7.203 kB / 0.8207 GB, free: 12.28 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.7532, allocations: 39.22 kB / 0.8208 GB, free: 12.25 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.7532, allocations: 3.984 kB / 0.8208 GB, free: 12.24 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.7533, allocations: 25.42 kB / 0.8208 GB, free: 12.22 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.7534, allocations: 6.984 kB / 0.8208 GB, free: 12.21 MB / 0.5574 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 0.0001126/0.7535, allocations: 109.8 kB / 0.8209 GB, free: 12.1 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.7535, allocations: 7.906 kB / 0.8209 GB, free: 12.09 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.7538, allocations: 85.77 kB / 0.821 GB, free: 11.99 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7538, allocations: 0 / 0.821 GB, free: 11.99 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.663e-05/0.7538, allocations: 7.953 kB / 0.821 GB, free: 11.98 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.7538, allocations: 3.438 kB / 0.821 GB, free: 11.98 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.7541, allocations: 197.5 kB / 0.8212 GB, free: 11.74 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7541, allocations: 0 / 0.8212 GB, free: 11.74 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.7543, allocations: 31.97 kB / 0.8212 GB, free: 11.71 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.7543, allocations: 7.938 kB / 0.8213 GB, free: 11.7 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.7543, allocations: 8 kB / 0.8213 GB, free: 11.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7543, allocations: 0 / 0.8213 GB, free: 11.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.7543, allocations: 0 / 0.8213 GB, free: 11.7 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.7546, allocations: 171.4 kB / 0.8214 GB, free: 11.51 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 7.843e-05/0.7547, allocations: 96.75 kB / 0.8215 GB, free: 11.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.7547, allocations: 0 / 0.8215 GB, free: 11.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.7549, allocations: 35.97 kB / 0.8215 GB, free: 11.37 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.755, allocations: 11.64 kB / 0.8216 GB, free: 11.36 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.755, allocations: 0 / 0.8216 GB, free: 11.36 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 9.269e-05/0.7551, allocations: 109 kB / 0.8217 GB, free: 11.25 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7551, allocations: 0 / 0.8217 GB, free: 11.25 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002547/0.7553, allocations: 19.98 kB / 0.8217 GB, free: 11.23 MB / 0.5574 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.0002328/0.7556, allocations: 107.2 kB / 0.8218 GB, free: 11.12 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.7557, allocations: 51.92 kB / 0.8218 GB, free: 11.07 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7558, allocations: 4 kB / 0.8218 GB, free: 11.07 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 6.028e-05/0.7558, allocations: 24 kB / 0.8219 GB, free: 11.04 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.756, allocations: 4 kB / 0.8219 GB, free: 11.04 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.7564, allocations: 109.4 kB / 0.822 GB, free: 10.91 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.7568, allocations: 0.7051 MB / 0.8227 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 5.655e-05/0.7569, allocations: 4 kB / 0.8227 GB, free: 10.17 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.7569, allocations: 7.438 kB / 0.8227 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of SimCode: time 1.032e-06/0.7569, allocations: 4 kB / 0.8227 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of Templates: time 0.003807/0.7607, allocations: 0.9806 MB / 0.8236 GB, free: 9.223 MB / 0.5574 GB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.makefile (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 & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.mat","../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches