Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.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.test_1_LimPID,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_test_1_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_test_1_LimPID",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.001493/0.001493, allocations: 176.2 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.649/1.649, 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.00106/0.00106, allocations: 91.34 kB / 280.5 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09957/0.09957, allocations: 20.18 MB / 351.4 MB, free: 11.02 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: 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 0.8138/0.8138, allocations: 127.6 MB / 0.5233 GB, free: 1.031 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.423e-05, allocations: 4 kB / 0.6111 GB, free: 7.723 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6118/0.6119, allocations: 82.86 MB / 0.692 GB, free: 3.047 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2165/0.8285, allocations: 124.5 MB / 0.8137 GB, free: 4.59 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003912/0.829, allocations: 91.92 kB / 0.8138 GB, free: 4.5 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.02256/0.8515, allocations: 7.046 MB / 0.8206 GB, free: 13.41 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8516, allocations: 0 / 0.8206 GB, free: 13.41 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 4.217e-05/0.8516, allocations: 12 kB / 0.8206 GB, free: 13.4 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001162/0.8528, allocations: 0.629 MB / 0.8213 GB, free: 12.73 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.8529, allocations: 8.031 kB / 0.8213 GB, free: 12.72 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.853, allocations: 55.39 kB / 0.8213 GB, free: 12.67 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000833/0.8538, allocations: 408.2 kB / 0.8217 GB, free: 12.23 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.8539, allocations: 12 kB / 0.8217 GB, free: 12.21 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.854, allocations: 20 kB / 0.8217 GB, free: 12.2 MB / 0.5574 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003967/0.8544, allocations: 197.5 kB / 0.8219 GB, free: 12 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.8549, allocations: 304.9 kB / 0.8222 GB, free: 11.68 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.855, allocations: 0 / 0.8222 GB, free: 11.68 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.855, allocations: 3.953 kB / 0.8222 GB, free: 11.68 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.855, allocations: 11.94 kB / 0.8222 GB, free: 11.66 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.8571, allocations: 1.182 MB / 0.8234 GB, free: 10.43 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.8577, allocations: 300.2 kB / 0.8237 GB, free: 10.1 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.8578, allocations: 120.9 kB / 0.8238 GB, free: 9.973 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.8579, allocations: 7.953 kB / 0.8238 GB, free: 9.965 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003504/0.8583, allocations: 204.7 kB / 0.824 GB, free: 9.742 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=34): time 2.004e-06/0.8583, allocations: 0 / 0.824 GB, free: 9.742 MB / 0.5574 GB Notification: Performance of matching and sorting (n=34): time 0.00049/0.8588, allocations: 246.2 kB / 0.8242 GB, free: 9.496 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.622e-05/0.8589, allocations: 166.2 kB / 0.8244 GB, free: 9.297 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.8591, allocations: 245.1 kB / 0.8246 GB, free: 9.055 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.8592, allocations: 25.7 kB / 0.8246 GB, free: 9.023 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.8594, allocations: 224.6 kB / 0.8249 GB, free: 8.801 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.8595, allocations: 114.3 kB / 0.825 GB, free: 8.688 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/0.8595, allocations: 0 / 0.825 GB, free: 8.688 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.8597, allocations: 346.8 kB / 0.8253 GB, free: 8.34 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.8598, allocations: 88.72 kB / 0.8254 GB, free: 8.254 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.86, allocations: 167.5 kB / 0.8255 GB, free: 8.062 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.8602, allocations: 108.5 kB / 0.8256 GB, free: 7.957 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8603, allocations: 0 / 0.8256 GB, free: 7.957 MB / 0.5574 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005007/0.8608, allocations: 316.7 kB / 0.8259 GB, free: 7.641 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.000357/0.8611, allocations: 0.7069 MB / 0.8266 GB, free: 6.879 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.8611, allocations: 0 / 0.8266 GB, free: 6.879 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.8612, allocations: 11.98 kB / 0.8266 GB, free: 6.867 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.8615, allocations: 83.89 kB / 0.8267 GB, free: 6.785 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.8616, allocations: 7.938 kB / 0.8267 GB, free: 6.777 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.8618, allocations: 27.83 kB / 0.8268 GB, free: 6.75 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.8618, allocations: 16 kB / 0.8268 GB, free: 6.734 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.8618, allocations: 0 / 0.8268 GB, free: 6.734 MB / 0.5574 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003945/0.8622, allocations: 243.6 kB / 0.827 GB, free: 6.496 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.8623, allocations: 4 kB / 0.827 GB, free: 6.492 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/0.8623, allocations: 7.953 kB / 0.827 GB, free: 6.484 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.8626, allocations: 67.91 kB / 0.8271 GB, free: 6.418 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.8626, allocations: 7.938 kB / 0.8271 GB, free: 6.41 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.8628, allocations: 35.89 kB / 0.8271 GB, free: 6.375 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.8628, allocations: 16 kB / 0.8271 GB, free: 6.359 MB / 0.5574 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(fixed = false ) "Connector of Boolean input signal" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (booleanExpression.y,$whenCondition2,$whenCondition1,$PRE.PID.switch_OnOff.u2,PID.switch_OnOff.u2,$PRE.PID.time_lag_I_activation.entryTime,PID.time_lag_I_activation.entryTime,PID.I_activation.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001852/0.863, allocations: 118 kB / 0.8273 GB, free: 6.238 MB / 0.5574 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004045/0.8634, allocations: 249.9 kB / 0.8275 GB, free: 5.988 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.8635, allocations: 39.52 kB / 0.8275 GB, free: 5.949 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.8636, allocations: 44.38 kB / 0.8276 GB, free: 5.902 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.8636, allocations: 11.94 kB / 0.8276 GB, free: 5.891 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.8636, allocations: 4.094 kB / 0.8276 GB, free: 5.887 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.8636, allocations: 0 / 0.8276 GB, free: 5.887 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009796/0.8646, allocations: 0.6745 MB / 0.8282 GB, free: 5.168 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.8646, allocations: 3.953 kB / 0.8283 GB, free: 5.164 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.8649, allocations: 55.91 kB / 0.8283 GB, free: 5.109 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.8649, allocations: 4 kB / 0.8283 GB, free: 5.105 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.865, allocations: 8 kB / 0.8283 GB, free: 5.098 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.865, allocations: 4 kB / 0.8283 GB, free: 5.094 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.865, allocations: 8 kB / 0.8283 GB, free: 5.086 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/0.8658, allocations: 0.5136 MB / 0.8288 GB, free: 4.531 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 9.314e-05/0.8659, allocations: 120.6 kB / 0.8289 GB, free: 4.395 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.8659, allocations: 4 kB / 0.8289 GB, free: 4.391 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.8662, allocations: 15.98 kB / 0.829 GB, free: 4.375 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.8663, allocations: 31.77 kB / 0.829 GB, free: 4.348 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.8663, allocations: 11.98 kB / 0.829 GB, free: 4.336 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0001974/0.8665, allocations: 200.6 kB / 0.8292 GB, free: 4.137 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8665, allocations: 0 / 0.8292 GB, free: 4.137 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0004974/0.867, allocations: 127.5 kB / 0.8293 GB, free: 4.012 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 9 (PID.smoothPIDOutput1.y_aux,PID.resetValueI,PID.resetValueP,PID.resetValueID,PID.smoothPIDInput.y_aux,PID.smoothPIDOutput.y_aux,PID.I.y,PID.D_approx.x,firstOrder.y) * Number of discrete variables: 6 (booleanExpression.y,$whenCondition2,$whenCondition1,PID.switch_OnOff.u2,PID.time_lag_I_activation.entryTime,PID.I_activation.y) * Number of discrete states: 2 (PID.switch_OnOff.u2,PID.toPU.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001083/0.8681, allocations: 1.267 MB / 0.8306 GB, free: 2.703 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0006859/0.8688, allocations: 399 kB / 0.8309 GB, free: 2.312 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8688, allocations: 0.875 kB / 0.8309 GB, free: 2.312 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.869, allocations: 124 kB / 0.8311 GB, free: 2.191 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.8695, allocations: 37.2 kB / 0.8311 GB, free: 2.156 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.871, allocations: 0.7005 MB / 0.8318 GB, free: 1.406 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.8715, allocations: 0.8199 MB / 0.8326 GB, free: 0.5586 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0003199/0.8718, allocations: 64.55 kB / 0.8326 GB, free: 0.4922 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.872, allocations: 135.4 kB / 0.8328 GB, free: 368 kB / 0.5574 GB Notification: Performance of SimCode: time 5.41e-07/0.872, allocations: 0 / 0.8328 GB, free: 368 kB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.9051, allocations: 6.5 MB / 0.8391 GB, free: 9.91 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/0.9054, allocations: 132.7 kB / 0.8392 GB, free: 9.723 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.461, allocations: 1.312 kB / 0.8392 GB, free: 9.723 MB / 0.573 GB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_test_1_LimPID_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_test_1_LimPID.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.test_1_LimPID_res.mat does not exist to compare? outputFormat=mat