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.001625/0.001625, allocations: 174.7 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.538/1.538, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009179/0.0009177, allocations: 97.95 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.0942/0.0942, allocations: 20.16 MB / 356.6 MB, free: 5.918 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.234/1.234, allocations: 127.5 MB / 0.5284 GB, free: 15.91 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 4.421e-05/4.445e-05, allocations: 4 kB / 0.6181 GB, free: 3.93 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5891/0.5891, allocations: 82.84 MB / 0.699 GB, free: 32.04 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.7963, allocations: 125.2 MB / 0.8212 GB, free: 11.96 MB / 0.5574 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.7967, allocations: 91.92 kB / 0.8213 GB, free: 11.88 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 0.02167/0.8184, allocations: 7.104 MB / 0.8283 GB, free: 4.828 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8184, allocations: 1.125 kB / 0.8283 GB, free: 4.828 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.133e-05/0.8184, allocations: 19.98 kB / 0.8283 GB, free: 4.809 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.001146/0.8196, allocations: 0.6223 MB / 0.8289 GB, free: 4.145 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.8197, allocations: 8.75 kB / 0.8289 GB, free: 4.137 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.937e-05/0.8198, allocations: 74.48 kB / 0.829 GB, free: 4.055 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.8199, allocations: 51.38 kB / 0.829 GB, free: 4.004 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008143/0.8207, allocations: 414.7 kB / 0.8294 GB, free: 3.559 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.8208, allocations: 28.78 kB / 0.8294 GB, free: 3.531 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-05/0.8208, allocations: 36.56 kB / 0.8295 GB, free: 3.496 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006396/0.8215, allocations: 360.3 kB / 0.8298 GB, free: 3.121 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.8215, allocations: 0.625 kB / 0.8298 GB, free: 3.121 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.8216, allocations: 17.27 kB / 0.8298 GB, free: 3.105 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.8216, allocations: 8 kB / 0.8298 GB, free: 3.098 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.822, allocations: 211 kB / 0.83 GB, free: 2.887 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.8242, allocations: 1.247 MB / 0.8313 GB, free: 1.59 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.8247, allocations: 326.3 kB / 0.8316 GB, free: 1.238 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.8249, allocations: 120.2 kB / 0.8317 GB, free: 1.109 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/0.8249, allocations: 7.984 kB / 0.8317 GB, free: 1.102 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000383/0.8253, allocations: 220.7 kB / 0.8319 GB, free: 0.8672 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=34): time 2.846e-06/0.8253, allocations: 0 / 0.8319 GB, free: 0.8672 MB / 0.5574 GB Notification: Performance of matching and sorting (n=34): time 0.000597/0.8259, allocations: 265.1 kB / 0.8322 GB, free: 0.6016 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.8261, allocations: 166.2 kB / 0.8323 GB, free: 412 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.8264, allocations: 263.9 kB / 0.8326 GB, free: 144 kB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 4.695e-05/0.8264, allocations: 37.7 kB / 0.8326 GB, free: 100 kB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.8266, allocations: 211.9 kB / 0.8328 GB, free: 15.89 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.8267, allocations: 125.2 kB / 0.8329 GB, free: 15.77 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.09e-05/0.8268, allocations: 12 kB / 0.8329 GB, free: 15.76 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.827, allocations: 348 kB / 0.8333 GB, free: 15.41 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.8271, allocations: 92.88 kB / 0.8334 GB, free: 15.32 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.8274, allocations: 174.9 kB / 0.8335 GB, free: 15.12 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.8276, allocations: 117.6 kB / 0.8336 GB, free: 15.01 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8276, allocations: 0 / 0.8336 GB, free: 15.01 MB / 0.573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005745/0.8282, allocations: 352.5 kB / 0.834 GB, free: 14.66 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004039/0.8286, allocations: 0.7023 MB / 0.8347 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.8286, allocations: 1.484 kB / 0.8347 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.8287, allocations: 4 kB / 0.8347 GB, free: 13.91 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.829, allocations: 88.7 kB / 0.8347 GB, free: 13.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.829, allocations: 4 kB / 0.8348 GB, free: 13.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.8293, allocations: 35.73 kB / 0.8348 GB, free: 13.79 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.8293, allocations: 19.95 kB / 0.8348 GB, free: 13.77 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.8293, allocations: 5.562 kB / 0.8348 GB, free: 13.76 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004728/0.8298, allocations: 288 kB / 0.8351 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.8298, allocations: 4 kB / 0.8351 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-06/0.8298, allocations: 4 kB / 0.8351 GB, free: 13.47 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.8301, allocations: 79.83 kB / 0.8352 GB, free: 13.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.8301, allocations: 4 kB / 0.8352 GB, free: 13.39 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.8303, allocations: 34.78 kB / 0.8352 GB, free: 13.36 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.8303, allocations: 23.58 kB / 0.8352 GB, free: 13.34 MB / 0.573 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.0001828/0.8305, allocations: 129.6 kB / 0.8354 GB, free: 13.21 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.8306, allocations: 43.48 kB / 0.8354 GB, free: 13.16 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.839e-05/0.8307, allocations: 48.02 kB / 0.8354 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.8307, allocations: 4 kB / 0.8354 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.8307, allocations: 0 / 0.8354 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.8308, allocations: 7.984 kB / 0.8355 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.8318, allocations: 0.7519 MB / 0.8362 GB, free: 12.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8318, allocations: 0 / 0.8362 GB, free: 12.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.8322, allocations: 63.91 kB / 0.8362 GB, free: 12.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.8322, allocations: 0 / 0.8362 GB, free: 12.23 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.8322, allocations: 8 kB / 0.8363 GB, free: 12.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.8322, allocations: 4 kB / 0.8363 GB, free: 12.22 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8322, allocations: 0 / 0.8363 GB, free: 12.22 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007861/0.833, allocations: 0.5527 MB / 0.8368 GB, free: 11.63 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.8331, allocations: 116.7 kB / 0.8369 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.8332, allocations: 8 kB / 0.8369 GB, free: 11.49 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.8334, allocations: 27.98 kB / 0.8369 GB, free: 11.46 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/0.8335, allocations: 27.91 kB / 0.837 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.8336, allocations: 17.36 kB / 0.837 GB, free: 11.42 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002132/0.8338, allocations: 206.2 kB / 0.8372 GB, free: 11.22 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8338, allocations: 0 / 0.8372 GB, free: 11.22 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004712/0.8343, allocations: 147.5 kB / 0.8373 GB, free: 11.07 MB / 0.573 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.001082/0.8353, allocations: 1.309 MB / 0.8386 GB, free: 9.719 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006989/0.8361, allocations: 429.5 kB / 0.839 GB, free: 9.301 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.8361, allocations: 0 / 0.839 GB, free: 9.301 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.8363, allocations: 127.9 kB / 0.8391 GB, free: 9.176 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.8367, allocations: 51.2 kB / 0.8392 GB, free: 9.133 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.8381, allocations: 0.7248 MB / 0.8399 GB, free: 8.355 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.8385, allocations: 0.8277 MB / 0.8407 GB, free: 7.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003138/0.8389, allocations: 68.42 kB / 0.8408 GB, free: 7.438 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.8391, allocations: 131.4 kB / 0.8409 GB, free: 7.309 MB / 0.573 GB Notification: Performance of SimCode: time 2.61e-07/0.8391, allocations: 3.938 kB / 0.8409 GB, free: 7.305 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.8592, allocations: 7.101 MB / 0.8478 GB, free: 468 kB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.8594, allocations: 153.2 kB / 0.848 GB, free: 240 kB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.476/3.336, allocations: 3.078 kB / 0.848 GB, free: 240 kB / 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