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.002366/0.002366, 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.651/1.651, allocations: 221.5 MB / 229.6 MB, free: 7.531 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.001022/0.001022, allocations: 99.53 kB / 280.5 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.08348/0.08348, allocations: 20.18 MB / 351.4 MB, free: 11 MB / 250.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 0.7461/0.7461, allocations: 127.6 MB / 0.5233 GB, free: 1.016 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.358e-05/4.387e-05, allocations: 7.984 kB / 0.611 GB, free: 7.785 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6554/0.6555, allocations: 82.85 MB / 0.6919 GB, free: 3.148 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.209/0.8646, allocations: 119.1 MB / 0.8082 GB, free: 10.12 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.865, allocations: 95.8 kB / 0.8083 GB, free: 10.04 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.009871/0.8749, allocations: 3.001 MB / 0.8112 GB, free: 7.02 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8749, allocations: 0 / 0.8112 GB, free: 7.02 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.8749, allocations: 0 / 0.8112 GB, free: 7.02 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.0005963/0.8755, allocations: 430.2 kB / 0.8117 GB, free: 6.555 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.8756, allocations: 8.031 kB / 0.8117 GB, free: 6.547 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.8757, allocations: 11.86 kB / 0.8117 GB, free: 6.535 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.8758, allocations: 178.8 kB / 0.8118 GB, free: 6.32 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.8758, allocations: 8 kB / 0.8119 GB, free: 6.312 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.8759, allocations: 0 / 0.8119 GB, free: 6.312 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001312/0.876, allocations: 32 kB / 0.8119 GB, free: 6.281 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.8761, allocations: 57.67 kB / 0.8119 GB, free: 6.219 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.8762, allocations: 0 / 0.8119 GB, free: 6.219 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.8762, allocations: 0 / 0.8119 GB, free: 6.219 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.8762, allocations: 0 / 0.8119 GB, free: 6.219 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.8767, allocations: 296.4 kB / 0.8122 GB, free: 5.895 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 7.376e-05/0.8767, allocations: 38.56 kB / 0.8123 GB, free: 5.848 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.8768, allocations: 20.98 kB / 0.8123 GB, free: 5.824 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.8768, allocations: 4 kB / 0.8123 GB, free: 5.82 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.8769, allocations: 34.5 kB / 0.8123 GB, free: 5.777 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.8769, allocations: 0 / 0.8123 GB, free: 5.777 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5): time 0.0003664/0.8772, allocations: 97.64 kB / 0.8124 GB, free: 5.676 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.8773, allocations: 63.39 kB / 0.8125 GB, free: 5.602 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.859e-05/0.8774, allocations: 114.8 kB / 0.8126 GB, free: 5.48 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.8774, allocations: 25.7 kB / 0.8126 GB, free: 5.449 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.8775, allocations: 96.12 kB / 0.8127 GB, free: 5.352 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.8775, allocations: 11.75 kB / 0.8127 GB, free: 5.34 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/0.8775, allocations: 0 / 0.8127 GB, free: 5.34 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.8777, allocations: 322.8 kB / 0.813 GB, free: 5.016 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.829e-05/0.8777, allocations: 16 kB / 0.813 GB, free: 5 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.892e-05/0.8778, allocations: 12 kB / 0.813 GB, free: 4.988 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.8779, allocations: 43.95 kB / 0.8131 GB, free: 4.945 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.8779, allocations: 0 / 0.8131 GB, free: 4.945 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000228/0.8782, allocations: 101.5 kB / 0.8132 GB, free: 4.84 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.8782, allocations: 4 kB / 0.8132 GB, free: 4.836 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.8782, allocations: 3.938 kB / 0.8132 GB, free: 4.832 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.8782, allocations: 4.25 kB / 0.8132 GB, free: 4.828 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.8784, allocations: 39.95 kB / 0.8132 GB, free: 4.789 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.8784, allocations: 7.953 kB / 0.8132 GB, free: 4.781 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.8786, allocations: 27.97 kB / 0.8133 GB, free: 4.754 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.8786, allocations: 0 / 0.8133 GB, free: 4.754 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 7.603e-05/0.8787, allocations: 108.8 kB / 0.8134 GB, free: 4.641 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.8787, allocations: 11.91 kB / 0.8134 GB, free: 4.629 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.879, allocations: 110 kB / 0.8135 GB, free: 4.516 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.879, allocations: 0 / 0.8135 GB, free: 4.516 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.879, allocations: 0 / 0.8135 GB, free: 4.516 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.879, allocations: 7.938 kB / 0.8135 GB, free: 4.508 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.8792, allocations: 162.1 kB / 0.8136 GB, free: 4.312 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8792, allocations: 3.938 kB / 0.8136 GB, free: 4.309 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.8794, allocations: 47.23 kB / 0.8137 GB, free: 4.266 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8794, allocations: 0 / 0.8137 GB, free: 4.266 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.8794, allocations: 0 / 0.8137 GB, free: 4.266 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8794, allocations: 4 kB / 0.8137 GB, free: 4.262 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8794, allocations: 0 / 0.8137 GB, free: 4.262 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.8797, allocations: 191.5 kB / 0.8139 GB, free: 4.059 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.8798, allocations: 92.89 kB / 0.814 GB, free: 3.949 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.8798, allocations: 4 kB / 0.814 GB, free: 3.945 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.88, allocations: 31.97 kB / 0.814 GB, free: 3.914 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.88, allocations: 7.984 kB / 0.814 GB, free: 3.906 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.88, allocations: 0 / 0.814 GB, free: 3.906 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 5.793e-05/0.8801, allocations: 105.8 kB / 0.8141 GB, free: 3.805 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8801, allocations: 0 / 0.8141 GB, free: 3.805 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002288/0.8803, allocations: 28 kB / 0.8141 GB, free: 3.777 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 () * 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.0001772/0.8805, allocations: 107.1 kB / 0.8142 GB, free: 3.66 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.8807, allocations: 40.12 kB / 0.8143 GB, free: 3.621 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8807, allocations: 0 / 0.8143 GB, free: 3.621 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/0.8807, allocations: 28.06 kB / 0.8143 GB, free: 3.594 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.8809, allocations: 11.94 kB / 0.8143 GB, free: 3.582 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.8812, allocations: 108.6 kB / 0.8144 GB, free: 3.453 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.8815, allocations: 0.6963 MB / 0.8151 GB, free: 2.73 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 4.88e-05/0.8816, allocations: 8 kB / 0.8151 GB, free: 2.723 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.8816, allocations: 7.438 kB / 0.8151 GB, free: 2.715 MB / 0.5418 GB Notification: Performance of SimCode: time 2.4e-07/0.8816, allocations: 0 / 0.8151 GB, free: 2.715 MB / 0.5418 GB Notification: Performance of Templates: time 0.002946/0.8846, allocations: 0.9034 MB / 0.816 GB, free: 1.844 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