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.01148/0.01148, allocations: 170.3 kB / 15.11 MB, free: 6.043 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.694/1.694, allocations: 223.2 MB / 239 MB, free: 1.793 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.001087/0.001087, allocations: 97.5 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09982/0.09982, allocations: 20.33 MB / 361.6 MB, free: 6.664 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.225/1.225, allocations: 127.1 MB / 0.533 GB, free: 16.95 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005279/0.0005279, allocations: 12 kB / 0.6256 GB, free: 11.1 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2391, allocations: 82.86 MB / 0.7065 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7316/0.9708, allocations: 125.3 MB / 0.8288 GB, free: 4 kB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005107/0.9714, allocations: 94.58 kB / 0.8289 GB, free: 15.95 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.02192/0.9934, allocations: 7.141 MB / 0.8359 GB, free: 10.05 MB / 0.5418 GB Notification: Performance of FrontEnd: time 3.066e-06/0.9934, allocations: 0 / 0.8359 GB, free: 10.05 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 4.399e-05/0.9935, allocations: 15.94 kB / 0.8359 GB, free: 10.03 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001355/0.9948, allocations: 0.6795 MB / 0.8365 GB, free: 9.344 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/0.9949, allocations: 8.031 kB / 0.8366 GB, free: 9.336 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.995, allocations: 71.28 kB / 0.8366 GB, free: 9.277 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.9951, allocations: 51.44 kB / 0.8367 GB, free: 9.227 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000834/0.996, allocations: 415.9 kB / 0.8371 GB, free: 8.836 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.996, allocations: 30.09 kB / 0.8371 GB, free: 8.82 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/0.9961, allocations: 38.12 kB / 0.8371 GB, free: 8.797 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.9968, allocations: 387 kB / 0.8375 GB, free: 8.504 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.9969, allocations: 0 / 0.8375 GB, free: 8.504 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.9969, allocations: 18.17 kB / 0.8375 GB, free: 8.496 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.9969, allocations: 12 kB / 0.8375 GB, free: 8.484 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005481/0.9975, allocations: 251.9 kB / 0.8378 GB, free: 8.309 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.9998, allocations: 1.266 MB / 0.839 GB, free: 7.098 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007054/1.001, allocations: 367.1 kB / 0.8394 GB, free: 6.699 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/1.001, allocations: 11.19 kB / 0.8394 GB, free: 6.691 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005519/1.001, allocations: 237.4 kB / 0.8396 GB, free: 6.441 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=34): time 1.864e-06/1.001, allocations: 0 / 0.8396 GB, free: 6.441 MB / 0.5418 GB Notification: Performance of matching and sorting (n=34): time 0.0009631/1.002, allocations: 427.3 kB / 0.84 GB, free: 6.02 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/1.002, allocations: 158.2 kB / 0.8401 GB, free: 5.828 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/1.003, allocations: 267.7 kB / 0.8404 GB, free: 5.566 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/1.003, allocations: 37.7 kB / 0.8404 GB, free: 5.523 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/1.003, allocations: 212.2 kB / 0.8406 GB, free: 5.312 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/1.003, allocations: 122.4 kB / 0.8408 GB, free: 5.191 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/1.003, allocations: 15.94 kB / 0.8408 GB, free: 5.176 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001824/1.003, allocations: 346.8 kB / 0.8411 GB, free: 4.828 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/1.004, allocations: 117.8 kB / 0.8412 GB, free: 4.715 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/1.004, allocations: 200.3 kB / 0.8414 GB, free: 4.492 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/1.004, allocations: 137 kB / 0.8415 GB, free: 4.359 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.004, allocations: 3.953 kB / 0.8415 GB, free: 4.355 MB / 0.5418 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007335/1.005, allocations: 403.2 kB / 0.8419 GB, free: 3.957 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.000399/1.005, allocations: 0.7079 MB / 0.8426 GB, free: 3.195 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.005, allocations: 4 kB / 0.8426 GB, free: 3.191 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/1.005, allocations: 4 kB / 0.8426 GB, free: 3.188 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/1.006, allocations: 75.84 kB / 0.8427 GB, free: 3.113 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/1.006, allocations: 5.203 kB / 0.8427 GB, free: 3.109 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/1.006, allocations: 55.67 kB / 0.8428 GB, free: 3.055 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/1.006, allocations: 12 kB / 0.8428 GB, free: 3.043 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/1.006, allocations: 4 kB / 0.8428 GB, free: 3.039 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005467/1.007, allocations: 303.7 kB / 0.8431 GB, free: 2.742 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-06/1.007, allocations: 4 kB / 0.8431 GB, free: 2.738 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-06/1.007, allocations: 4 kB / 0.8431 GB, free: 2.734 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/1.007, allocations: 72.47 kB / 0.8431 GB, free: 2.664 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.007, allocations: 7.984 kB / 0.8431 GB, free: 2.656 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/1.007, allocations: 39.69 kB / 0.8432 GB, free: 2.617 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/1.007, allocations: 8.547 kB / 0.8432 GB, free: 2.609 MB / 0.5418 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(fixed = true ) "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 () * Number of clocked 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.0003512/1.008, allocations: 254.2 kB / 0.8434 GB, free: 2.352 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/1.008, allocations: 36.64 kB / 0.8435 GB, free: 2.316 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.953e-05/1.008, allocations: 40.8 kB / 0.8435 GB, free: 2.277 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.008, allocations: 4 kB / 0.8435 GB, free: 2.273 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.008, allocations: 4 kB / 0.8435 GB, free: 2.27 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/1.008, allocations: 3.984 kB / 0.8435 GB, free: 2.266 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/1.009, allocations: 0.8119 MB / 0.8443 GB, free: 1.398 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.009, allocations: 0 / 0.8443 GB, free: 1.398 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/1.009, allocations: 63.95 kB / 0.8444 GB, free: 1.336 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/1.009, allocations: 0 / 0.8444 GB, free: 1.336 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/1.01, allocations: 14.38 kB / 0.8444 GB, free: 1.324 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.01, allocations: 9.719 kB / 0.8444 GB, free: 1.316 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.01, allocations: 0 / 0.8444 GB, free: 1.316 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009904/1.011, allocations: 0.615 MB / 0.845 GB, free: 0.6562 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 9.15e-05/1.011, allocations: 108.7 kB / 0.8451 GB, free: 0.5312 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/1.011, allocations: 8.094 kB / 0.8451 GB, free: 0.5234 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/1.011, allocations: 31.91 kB / 0.8451 GB, free: 0.4922 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/1.011, allocations: 31.92 kB / 0.8452 GB, free: 472 kB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/1.011, allocations: 12 kB / 0.8452 GB, free: 460 kB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.000235/1.011, allocations: 211.1 kB / 0.8454 GB, free: 248 kB / 0.5418 GB Notification: Performance of sort global known variables: time 1.41e-07/1.011, allocations: 0 / 0.8454 GB, free: 248 kB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0005068/1.012, allocations: 147.4 kB / 0.8455 GB, free: 100 kB / 0.5418 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) * Number of clocked states: 0 () * 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.00144/1.013, allocations: 1.379 MB / 0.8469 GB, free: 14.67 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0009337/1.014, allocations: 482.1 kB / 0.8473 GB, free: 14.2 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.014, allocations: 4.312 kB / 0.8473 GB, free: 14.2 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.000286/1.015, allocations: 151.8 kB / 0.8475 GB, free: 14.05 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/1.015, allocations: 51.81 kB / 0.8475 GB, free: 14 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/1.019, allocations: 3.368 MB / 0.8508 GB, free: 10.55 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/1.02, allocations: 0.8237 MB / 0.8516 GB, free: 9.699 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0002554/1.02, allocations: 44.33 kB / 0.8517 GB, free: 9.656 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/1.02, allocations: 139.3 kB / 0.8518 GB, free: 9.52 MB / 0.5574 GB Notification: Performance of SimCode: time 4.71e-07/1.02, allocations: 0 / 0.8518 GB, free: 9.52 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/1.041, allocations: 6.617 MB / 0.8583 GB, free: 3.273 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/1.041, allocations: 177.5 kB / 0.8584 GB, free: 3.031 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/3.547, allocations: 0 / 0.8584 GB, free: 3.031 MB / 0.5574 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