Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.227/2.227, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001091/0.001091, allocations: 180.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.0009606/0.0009606, allocations: 87.95 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.609e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2948, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9872/1.282, allocations: 149.8 MB / 1.365 GB, free: 4.266 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/1.282, allocations: 68.7 kB / 1.365 GB, free: 4.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002989/1.285, allocations: 0.9427 MB / 1.366 GB, free: 3.379 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.538e-06/1.285, allocations: 0 / 1.366 GB, free: 3.379 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.009e-05/1.285, allocations: 7.062 kB / 1.366 GB, free: 3.375 MB / 0.823 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.0005029/1.286, allocations: 353.3 kB / 1.367 GB, free: 2.992 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.286, allocations: 8.031 kB / 1.367 GB, free: 2.984 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/1.286, allocations: 34.5 kB / 1.367 GB, free: 2.941 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/1.286, allocations: 11.91 kB / 1.367 GB, free: 2.93 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/1.286, allocations: 167 kB / 1.367 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/1.286, allocations: 3 kB / 1.367 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/1.286, allocations: 0 / 1.367 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/1.286, allocations: 62.34 kB / 1.367 GB, free: 2.668 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.286, allocations: 0 / 1.367 GB, free: 2.668 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/1.287, allocations: 0 / 1.367 GB, free: 2.668 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/1.287, allocations: 0 / 1.367 GB, free: 2.668 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.749e-05/1.287, allocations: 38.11 kB / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/1.287, allocations: 295.1 kB / 1.367 GB, free: 2.324 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/1.287, allocations: 45.08 kB / 1.367 GB, free: 2.281 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.113e-05/1.287, allocations: 28.27 kB / 1.367 GB, free: 2.258 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/1.287, allocations: 0 / 1.367 GB, free: 2.258 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/1.287, allocations: 30.56 kB / 1.367 GB, free: 2.219 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 2.705e-06/1.287, allocations: 7.984 kB / 1.367 GB, free: 2.211 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002038/1.288, allocations: 61.14 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/1.288, allocations: 51.41 kB / 1.367 GB, free: 2.09 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.587e-05/1.288, allocations: 98.81 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/1.288, allocations: 29.69 kB / 1.367 GB, free: 1.957 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/1.288, allocations: 91.67 kB / 1.368 GB, free: 1.867 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/1.288, allocations: 3.906 kB / 1.368 GB, free: 1.863 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/1.288, allocations: 0 / 1.368 GB, free: 1.863 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.288, allocations: 321.8 kB / 1.368 GB, free: 1.543 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.137e-05/1.288, allocations: 10.98 kB / 1.368 GB, free: 1.535 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/1.288, allocations: 15.56 kB / 1.368 GB, free: 1.523 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.471e-05/1.288, allocations: 7.312 kB / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/1.288, allocations: 0 / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001197/1.288, allocations: 59.69 kB / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.288, allocations: 4 kB / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.288, allocations: 0 / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.288, allocations: 7.984 kB / 1.368 GB, free: 1.453 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/1.288, allocations: 15.98 kB / 1.368 GB, free: 1.438 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.288, allocations: 3.953 kB / 1.368 GB, free: 1.434 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/1.288, allocations: 8 kB / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/1.288, allocations: 3.984 kB / 1.368 GB, free: 1.422 MB / 0.823 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 (intGreEquThr.u,intGreEquThr.y) * Number of discrete 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 7.252e-05/1.289, allocations: 112.5 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/1.289, allocations: 7.844 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/1.289, allocations: 11.41 kB / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/1.289, allocations: 3.938 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.289, allocations: 4 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.289, allocations: 3.953 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/1.289, allocations: 172.1 kB / 1.368 GB, free: 1.066 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.289, allocations: 4 kB / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-05/1.289, allocations: 11.98 kB / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.289, allocations: 0 / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/1.289, allocations: 3.75 kB / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.289, allocations: 4 kB / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.289, allocations: 0 / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/1.289, allocations: 162 kB / 1.368 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/1.289, allocations: 81.02 kB / 1.369 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/1.289, allocations: 0 / 1.369 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/1.289, allocations: 11.98 kB / 1.369 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/1.289, allocations: 15.48 kB / 1.369 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/1.289, allocations: 0 / 1.369 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.651e-05/1.289, allocations: 86.66 kB / 1.369 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.7e-07/1.289, allocations: 4 kB / 1.369 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000211/1.29, allocations: 12 kB / 1.369 GB, free: 0.6641 MB / 0.823 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 (intGreEquThr.u,intGreEquThr.y) * Number of discrete 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.0005256/1.29, allocations: 0.6982 MB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001138/1.29, allocations: 35.14 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.29, allocations: 4 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.579e-05/1.29, allocations: 18.94 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/1.291, allocations: 4 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/1.291, allocations: 121.8 kB / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/1.291, allocations: 0.6887 MB / 1.37 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.901e-05/1.291, allocations: 4 kB / 1.37 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/1.291, allocations: 23.05 kB / 1.37 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.291, allocations: 0 / 1.37 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/1.305, allocations: 1.523 MB / 1.372 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/1.305, allocations: 176.8 kB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.907, allocations: 0 / 1.372 GB, free: 13.46 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat does not exist to compare? outputFormat=mat