Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Control.FeedForward.Check.TestBlockFF.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.Control.FeedForward.Check.TestBlockFF,fileNamePrefix="ClaRa_dev_ClaRa_Components_Control_FeedForward_Check_TestBlockFF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Control.FeedForward.Check.TestBlockFF,fileNamePrefix="ClaRa_dev_ClaRa_Components_Control_FeedForward_Check_TestBlockFF",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.001643/0.001643, allocations: 175.2 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.546/1.546, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0009476/0.0009476, allocations: 93.53 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.1594/0.1594, allocations: 20.15 MB / 356.7 MB, free: 5.898 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.308/1.308, allocations: 127.6 MB / 0.5284 GB, free: 15.93 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 4.882e-05/4.903e-05, allocations: 4 kB / 0.6181 GB, free: 3.945 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6448/0.6449, allocations: 82.83 MB / 0.699 GB, free: 32.18 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.8429, allocations: 124.1 MB / 0.8202 GB, free: 13.08 MB / 0.5574 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/0.8433, allocations: 90.97 kB / 0.8202 GB, free: 12.99 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 0.01823/0.8616, allocations: 5.895 MB / 0.826 GB, free: 7.152 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8617, allocations: 6.188 kB / 0.826 GB, free: 7.148 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 4.118e-05/0.8617, allocations: 8 kB / 0.826 GB, free: 7.141 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001158/0.8629, allocations: 0.5241 MB / 0.8265 GB, free: 6.574 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.8629, allocations: 8.75 kB / 0.8265 GB, free: 6.566 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.8631, allocations: 62.47 kB / 0.8266 GB, free: 6.496 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.8632, allocations: 32.52 kB / 0.8266 GB, free: 6.465 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006271/0.8638, allocations: 295.3 kB / 0.8269 GB, free: 6.141 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.8639, allocations: 12 kB / 0.8269 GB, free: 6.129 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.8639, allocations: 20 kB / 0.8269 GB, free: 6.109 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.8643, allocations: 174.5 kB / 0.8271 GB, free: 5.934 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.8643, allocations: 0 / 0.8271 GB, free: 5.934 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.8644, allocations: 7.281 kB / 0.8271 GB, free: 5.93 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.8644, allocations: 4.781 kB / 0.8271 GB, free: 5.926 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.8647, allocations: 119.9 kB / 0.8272 GB, free: 5.809 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.866, allocations: 0.6631 MB / 0.8279 GB, free: 5.105 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.8662, allocations: 98.56 kB / 0.828 GB, free: 5 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.331e-05/0.8663, allocations: 44.86 kB / 0.828 GB, free: 4.953 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.8664, allocations: 0 / 0.828 GB, free: 4.953 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.8664, allocations: 42.16 kB / 0.8281 GB, free: 4.906 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.8664, allocations: 0 / 0.8281 GB, free: 4.906 MB / 0.5574 GB Notification: Performance of matching and sorting (n=12): time 0.0003733/0.8668, allocations: 137.3 kB / 0.8282 GB, free: 4.766 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.8668, allocations: 52.41 kB / 0.8282 GB, free: 4.703 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.8672, allocations: 240 kB / 0.8285 GB, free: 4.465 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.8672, allocations: 33.7 kB / 0.8285 GB, free: 4.426 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.8673, allocations: 161.2 kB / 0.8287 GB, free: 4.266 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.8674, allocations: 35.45 kB / 0.8287 GB, free: 4.23 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.8674, allocations: 8 kB / 0.8287 GB, free: 4.223 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.8675, allocations: 331.8 kB / 0.829 GB, free: 3.891 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.8676, allocations: 36 kB / 0.829 GB, free: 3.855 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.425e-05/0.8677, allocations: 41.88 kB / 0.8291 GB, free: 3.816 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.677e-05/0.8678, allocations: 41.36 kB / 0.8291 GB, free: 3.777 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.8678, allocations: 1.438 kB / 0.8291 GB, free: 3.777 MB / 0.5574 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002874/0.8681, allocations: 161.3 kB / 0.8293 GB, free: 3.613 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 8.394e-05/0.8682, allocations: 93.38 kB / 0.8294 GB, free: 3.52 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.8682, allocations: 0 / 0.8294 GB, free: 3.52 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.8683, allocations: 1.281 kB / 0.8294 GB, free: 3.52 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.8686, allocations: 53.55 kB / 0.8294 GB, free: 3.469 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.8686, allocations: 0.7812 kB / 0.8294 GB, free: 3.469 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.8688, allocations: 41.88 kB / 0.8295 GB, free: 3.43 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.8688, allocations: 0 / 0.8295 GB, free: 3.43 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.8688, allocations: 4.844 kB / 0.8295 GB, free: 3.426 MB / 0.5574 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002016/0.869, allocations: 99.92 kB / 0.8296 GB, free: 3.328 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/0.8691, allocations: 0 / 0.8296 GB, free: 3.328 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/0.8691, allocations: 4.891 kB / 0.8296 GB, free: 3.324 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.8693, allocations: 44.62 kB / 0.8296 GB, free: 3.285 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.8693, allocations: 8.797 kB / 0.8296 GB, free: 3.277 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.8695, allocations: 21.02 kB / 0.8296 GB, free: 3.258 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.8695, allocations: 9.5 kB / 0.8296 GB, free: 3.25 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 (14): * Single equations (assignments): 14 * 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.765e-05/0.8696, allocations: 112.9 kB / 0.8298 GB, free: 3.133 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.8696, allocations: 23.72 kB / 0.8298 GB, free: 3.109 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.87, allocations: 153.7 kB / 0.8299 GB, free: 2.953 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.87, allocations: 4.578 kB / 0.8299 GB, free: 2.949 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.87, allocations: 0.5625 kB / 0.8299 GB, free: 2.949 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.87, allocations: 11.97 kB / 0.8299 GB, free: 2.938 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.8704, allocations: 290.9 kB / 0.8302 GB, free: 2.605 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8704, allocations: 0 / 0.8302 GB, free: 2.605 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.8707, allocations: 46.59 kB / 0.8303 GB, free: 2.562 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.8707, allocations: 3.938 kB / 0.8303 GB, free: 2.559 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.8707, allocations: 4 kB / 0.8303 GB, free: 2.555 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.8707, allocations: 1 kB / 0.8303 GB, free: 2.555 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.8707, allocations: 3.953 kB / 0.8303 GB, free: 2.551 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.8712, allocations: 297.5 kB / 0.8306 GB, free: 2.246 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.8713, allocations: 104.8 kB / 0.8307 GB, free: 2.125 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.8713, allocations: 4.875 kB / 0.8307 GB, free: 2.121 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.8715, allocations: 25.81 kB / 0.8307 GB, free: 2.098 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.8716, allocations: 11.98 kB / 0.8307 GB, free: 2.086 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.8716, allocations: 8.703 kB / 0.8307 GB, free: 2.078 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0002239/0.8719, allocations: 191.7 kB / 0.8309 GB, free: 1.891 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8719, allocations: 4 kB / 0.8309 GB, free: 1.887 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0004012/0.8723, allocations: 81.22 kB / 0.831 GB, free: 1.809 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (feedForwardBlock_3508_1.variableGradientLimiter.y_aux,feedForwardBlock_3508_1.FuelOvershoot.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.001678/0.874, allocations: 1.062 MB / 0.832 GB, free: 0.8828 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.8744, allocations: 161.9 kB / 0.8322 GB, free: 0.7266 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8744, allocations: 1.25 kB / 0.8322 GB, free: 0.7266 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.8745, allocations: 55.94 kB / 0.8322 GB, free: 0.6719 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.8749, allocations: 34.81 kB / 0.8322 GB, free: 0.6406 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.876, allocations: 412.7 kB / 0.8326 GB, free: 208 kB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.8764, allocations: 0.7645 MB / 0.8334 GB, free: 15.41 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000264/0.8767, allocations: 62.36 kB / 0.8334 GB, free: 15.36 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.8768, allocations: 71.41 kB / 0.8335 GB, free: 15.29 MB / 0.573 GB Notification: Performance of SimCode: time 6.51e-07/0.8768, allocations: 0 / 0.8335 GB, free: 15.29 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.8995, allocations: 5.011 MB / 0.8384 GB, free: 10.56 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.8998, allocations: 195.4 kB / 0.8386 GB, free: 10.34 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/3.091, allocations: 4 kB / 0.8386 GB, free: 10.33 MB / 0.573 GB (rm -f ClaRa_dev_ClaRa.Components.Control.FeedForward.Check.TestBlockFF.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Control.FeedForward.Check.TestBlockFF.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Control.FeedForward.Check.TestBlockFF.pipe >> ../files/ClaRa_dev_ClaRa.Components.Control.FeedForward.Check.TestBlockFF.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Control.FeedForward.Check.TestBlockFF_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Control_FeedForward_Check_TestBlockFF_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Control_FeedForward_Check_TestBlockFF.fmu > ClaRa_dev_ClaRa.Components.Control.FeedForward.Check.TestBlockFF.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Control.FeedForward.Check.TestBlockFF_res.mat does not exist to compare? outputFormat=mat