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.01949/0.01949, allocations: 169.2 kB / 15.11 MB, free: 5.582 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.619/1.619, allocations: 223.2 MB / 239 MB, free: 1.797 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.000885/0.0008852, allocations: 103.4 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09579/0.09579, allocations: 20.31 MB / 361.6 MB, free: 6.656 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.391/1.391, allocations: 127.1 MB / 0.533 GB, free: 16.97 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004499, allocations: 15.98 kB / 0.6255 GB, free: 11.12 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2192, allocations: 82.86 MB / 0.7064 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6496/0.8688, allocations: 119.8 MB / 0.8234 GB, free: 5.562 MB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.8691, allocations: 91.53 kB / 0.8235 GB, free: 5.512 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 0.009027/0.8782, allocations: 3.037 MB / 0.8264 GB, free: 2.859 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8782, allocations: 0 / 0.8264 GB, free: 2.859 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.8782, allocations: 3.312 kB / 0.8264 GB, free: 2.859 MB / 0.5262 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.0006105/0.8788, allocations: 440.8 kB / 0.8268 GB, free: 2.387 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.8789, allocations: 8.031 kB / 0.8269 GB, free: 2.379 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.8789, allocations: 11.86 kB / 0.8269 GB, free: 2.367 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.8791, allocations: 174.9 kB / 0.827 GB, free: 2.16 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.8791, allocations: 1.188 kB / 0.827 GB, free: 2.16 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.8791, allocations: 4 kB / 0.827 GB, free: 2.156 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.8795, allocations: 118.1 kB / 0.8271 GB, free: 2.047 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.8795, allocations: 1.641 kB / 0.8271 GB, free: 2.047 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.8795, allocations: 3.062 kB / 0.8272 GB, free: 2.047 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.8795, allocations: 11.95 kB / 0.8272 GB, free: 2.035 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.88, allocations: 148.4 kB / 0.8273 GB, free: 1.902 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.8804, allocations: 310.7 kB / 0.8276 GB, free: 1.574 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.8807, allocations: 96.7 kB / 0.8277 GB, free: 1.48 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.8807, allocations: 2.938 kB / 0.8277 GB, free: 1.48 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.8807, allocations: 34.52 kB / 0.8277 GB, free: 1.438 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.8807, allocations: 0 / 0.8277 GB, free: 1.438 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5): time 0.0007443/0.8815, allocations: 261.4 kB / 0.828 GB, free: 1.199 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.8815, allocations: 51.41 kB / 0.828 GB, free: 1.137 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.109e-05/0.8816, allocations: 123.8 kB / 0.8281 GB, free: 1.016 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.8816, allocations: 26.27 kB / 0.8282 GB, free: 0.9844 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.8817, allocations: 97.42 kB / 0.8283 GB, free: 0.8945 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.8817, allocations: 15.73 kB / 0.8283 GB, free: 0.8789 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.8817, allocations: 0 / 0.8283 GB, free: 0.8789 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.599e-05/0.8818, allocations: 321 kB / 0.8286 GB, free: 0.5625 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.882, allocations: 74.5 kB / 0.8287 GB, free: 0.4961 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.8822, allocations: 74.75 kB / 0.8287 GB, free: 440 kB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.8824, allocations: 79.31 kB / 0.8288 GB, free: 368 kB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8824, allocations: 0 / 0.8288 GB, free: 368 kB / 0.5262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004521/0.8829, allocations: 192.5 kB / 0.829 GB, free: 188 kB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.8829, allocations: 6.188 kB / 0.829 GB, free: 184 kB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.8829, allocations: 5.266 kB / 0.829 GB, free: 180 kB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.8829, allocations: 2.953 kB / 0.829 GB, free: 180 kB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.8831, allocations: 39.97 kB / 0.829 GB, free: 140 kB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.8832, allocations: 0 / 0.829 GB, free: 140 kB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.8833, allocations: 27.97 kB / 0.8291 GB, free: 112 kB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.8833, allocations: 0 / 0.8291 GB, free: 112 kB / 0.5262 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 () * 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 0.0001179/0.8834, allocations: 121.6 kB / 0.8292 GB, free: 15.98 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.8835, allocations: 13.11 kB / 0.8292 GB, free: 15.97 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005734/0.884, allocations: 199.7 kB / 0.8294 GB, free: 15.8 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.8841, allocations: 11.95 kB / 0.8294 GB, free: 15.79 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.8841, allocations: 0 / 0.8294 GB, free: 15.79 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.8841, allocations: 0 / 0.8294 GB, free: 15.79 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.8843, allocations: 191.5 kB / 0.8296 GB, free: 15.57 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.8843, allocations: 0.8125 kB / 0.8296 GB, free: 15.57 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.8845, allocations: 35.97 kB / 0.8296 GB, free: 15.53 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.8845, allocations: 4 kB / 0.8296 GB, free: 15.53 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.8845, allocations: 0 / 0.8296 GB, free: 15.53 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.8845, allocations: 5.469 kB / 0.8296 GB, free: 15.52 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.8845, allocations: 8.766 kB / 0.8296 GB, free: 15.52 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.8851, allocations: 284.2 kB / 0.8299 GB, free: 15.24 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.8852, allocations: 86.05 kB / 0.83 GB, free: 15.14 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.8852, allocations: 4.984 kB / 0.83 GB, free: 15.14 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.8854, allocations: 27.92 kB / 0.83 GB, free: 15.11 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.8854, allocations: 15.94 kB / 0.83 GB, free: 15.1 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.8854, allocations: 3.984 kB / 0.83 GB, free: 15.09 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 9.489e-05/0.8855, allocations: 98.7 kB / 0.8301 GB, free: 15 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8855, allocations: 0 / 0.8301 GB, free: 15 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002467/0.8858, allocations: 27.94 kB / 0.8302 GB, free: 14.98 MB / 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 () * 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.0001784/0.886, allocations: 102.9 kB / 0.8303 GB, free: 14.87 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0005563/0.8865, allocations: 167.9 kB / 0.8304 GB, free: 14.72 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8866, allocations: 0.5625 kB / 0.8304 GB, free: 14.72 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.8868, allocations: 83.62 kB / 0.8305 GB, free: 14.65 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.8871, allocations: 6.078 kB / 0.8305 GB, free: 14.64 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.8875, allocations: 210.3 kB / 0.8307 GB, free: 14.43 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.8879, allocations: 0.6965 MB / 0.8314 GB, free: 13.7 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 5.149e-05/0.8879, allocations: 8 kB / 0.8314 GB, free: 13.7 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.888, allocations: 11.44 kB / 0.8314 GB, free: 13.69 MB / 0.5418 GB Notification: Performance of SimCode: time 5.81e-07/0.888, allocations: 0 / 0.8314 GB, free: 13.69 MB / 0.5418 GB Notification: Performance of Templates: time 0.003372/0.8914, allocations: 0.9581 MB / 0.8323 GB, free: 12.77 MB / 0.5418 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