Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001177, allocations: 175.3 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 0.7948 GB, free: 18.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008815/0.0008815, allocations: 106 kB / 0.9346 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003554, allocations: 10.19 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2438, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.181/0.4248, allocations: 149.1 MB / 1.369 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.4252, allocations: 67.97 kB / 1.369 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003489/0.4287, allocations: 0.9443 MB / 1.37 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.867e-06/0.4287, allocations: 4 kB / 1.37 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.4287, allocations: 4 kB / 1.37 GB, free: 3.195 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005573/0.4293, allocations: 359.2 kB / 1.37 GB, free: 2.797 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.4294, allocations: 8.031 kB / 1.37 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.4294, allocations: 30.56 kB / 1.37 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.4295, allocations: 7.906 kB / 1.37 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.4296, allocations: 178.9 kB / 1.37 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.4297, allocations: 0 / 1.37 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.4297, allocations: 11.98 kB / 1.37 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.4299, allocations: 73.58 kB / 1.37 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.43, allocations: 0 / 1.37 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.43, allocations: 7.938 kB / 1.37 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.43, allocations: 0 / 1.37 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.4303, allocations: 63.95 kB / 1.37 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.4308, allocations: 288.7 kB / 1.371 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.431, allocations: 78.5 kB / 1.371 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.4311, allocations: 0 / 1.371 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.4311, allocations: 30.56 kB / 1.371 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.4311, allocations: 0 / 1.371 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.000539/0.4316, allocations: 117.8 kB / 1.371 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.4317, allocations: 59.36 kB / 1.371 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.944e-05/0.4318, allocations: 108.9 kB / 1.371 GB, free: 1.605 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.4319, allocations: 25.7 kB / 1.371 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.4319, allocations: 80.14 kB / 1.371 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.4319, allocations: 15.81 kB / 1.371 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.432, allocations: 4 kB / 1.371 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.4321, allocations: 314.8 kB / 1.371 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.4322, allocations: 23.98 kB / 1.371 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.4324, allocations: 35.97 kB / 1.371 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.4325, allocations: 27.98 kB / 1.371 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4325, allocations: 0 / 1.371 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000315/0.4329, allocations: 89.64 kB / 1.371 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.4329, allocations: 8 kB / 1.371 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.794e-05/0.4329, allocations: 4 kB / 1.371 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.433, allocations: 3.938 kB / 1.371 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.4331, allocations: 15.92 kB / 1.372 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4331, allocations: 0 / 1.372 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.4333, allocations: 15.94 kB / 1.372 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.4333, allocations: 8.312 kB / 1.372 GB, free: 0.9219 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001156/0.4334, allocations: 109.8 kB / 1.372 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.4335, allocations: 7.906 kB / 1.372 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.4335, allocations: 11.89 kB / 1.372 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4335, allocations: 0 / 1.372 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4335, allocations: 0 / 1.372 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4335, allocations: 0 / 1.372 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.4337, allocations: 181.9 kB / 1.372 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.4337, allocations: 0 / 1.372 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.4339, allocations: 15.98 kB / 1.372 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4339, allocations: 4 kB / 1.372 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.4339, allocations: 0 / 1.372 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4339, allocations: 0 / 1.372 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4339, allocations: 0 / 1.372 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.4342, allocations: 203.4 kB / 1.372 GB, free: 324 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.4343, allocations: 88.95 kB / 1.372 GB, free: 216 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.4343, allocations: 0 / 1.372 GB, free: 216 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.4344, allocations: 11.98 kB / 1.372 GB, free: 204 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.4345, allocations: 11.98 kB / 1.372 GB, free: 192 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.4345, allocations: 0 / 1.372 GB, free: 192 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.622e-05/0.4346, allocations: 91.25 kB / 1.372 GB, free: 100 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4346, allocations: 0 / 1.372 GB, free: 100 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002278/0.4348, allocations: 23.94 kB / 1.372 GB, free: 76 kB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006776/0.4355, allocations: 0.7317 MB / 1.373 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.4358, allocations: 67.88 kB / 1.373 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4358, allocations: 4 kB / 1.373 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.4359, allocations: 39.97 kB / 1.373 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.4361, allocations: 2.969 kB / 1.373 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.4373, allocations: 482.4 kB / 1.374 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.4376, allocations: 0.6809 MB / 1.374 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.338e-05/0.4376, allocations: 11.98 kB / 1.374 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.4377, allocations: 19.38 kB / 1.374 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of SimCode: time 3.61e-07/0.4377, allocations: 0 / 1.374 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.4517, allocations: 1.505 MB / 1.376 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003901/0.4522, allocations: 193 kB / 1.376 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/1.994, allocations: 0 / 1.376 GB, free: 12.35 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat does not exist to compare? outputFormat=mat