Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.271/2.271, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001087/0.001088, allocations: 184 kB / 0.4901 GB, free: 2.266 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.567/1.567, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001075/0.001075, allocations: 108.2 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004789, allocations: 10.91 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3894, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2188/0.6083, allocations: 149.9 MB / 1.376 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.6085, allocations: 63.97 kB / 1.376 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002968/0.6115, allocations: 0.955 MB / 1.377 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6116, allocations: 0 / 1.377 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.6116, allocations: 0 / 1.377 GB, free: 2.633 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.0004765/0.612, allocations: 372.4 kB / 1.377 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.6121, allocations: 12.56 kB / 1.377 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.6122, allocations: 30.56 kB / 1.377 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.6122, allocations: 4 kB / 1.377 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.6124, allocations: 166.9 kB / 1.377 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.6124, allocations: 4 kB / 1.377 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.6124, allocations: 8 kB / 1.377 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.6126, allocations: 77.59 kB / 1.377 GB, free: 1.871 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.6126, allocations: 0 / 1.377 GB, free: 1.871 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.6126, allocations: 0 / 1.377 GB, free: 1.871 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.6127, allocations: 3.984 kB / 1.377 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.6129, allocations: 55.95 kB / 1.377 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.6134, allocations: 292.8 kB / 1.378 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.6136, allocations: 66.48 kB / 1.378 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.6136, allocations: 0 / 1.378 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.6137, allocations: 38.69 kB / 1.378 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.6137, allocations: 4.031 kB / 1.378 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004672/0.6141, allocations: 121.5 kB / 1.378 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.6142, allocations: 59.36 kB / 1.378 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.087e-05/0.6143, allocations: 108.9 kB / 1.378 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.6143, allocations: 25.7 kB / 1.378 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.6144, allocations: 88.14 kB / 1.378 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.6144, allocations: 7.844 kB / 1.378 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.6144, allocations: 3.938 kB / 1.378 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6145, allocations: 322.8 kB / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.6146, allocations: 27.98 kB / 1.378 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.04e-05/0.6147, allocations: 27.97 kB / 1.378 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.6148, allocations: 23.98 kB / 1.379 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6148, allocations: 4 kB / 1.379 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002523/0.6151, allocations: 105.5 kB / 1.379 GB, free: 404 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.6151, allocations: 4 kB / 1.379 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6151, allocations: 0 / 1.379 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.6152, allocations: 0 / 1.379 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.6153, allocations: 19.98 kB / 1.379 GB, free: 380 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.6153, allocations: 3.938 kB / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.461e-05/0.6154, allocations: 15.94 kB / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.6154, allocations: 336 / 1.379 GB, free: 360 kB / 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 8.083e-05/0.6155, allocations: 113.8 kB / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.6155, allocations: 3.984 kB / 1.379 GB, free: 232 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.6156, allocations: 15.89 kB / 1.379 GB, free: 216 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.6156, allocations: 0 / 1.379 GB, free: 216 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6156, allocations: 4 kB / 1.379 GB, free: 212 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6156, allocations: 0 / 1.379 GB, free: 212 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.6158, allocations: 173.5 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6158, allocations: 4 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-05/0.6159, allocations: 11.98 kB / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.6159, allocations: 3.984 kB / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.6159, allocations: 0 / 1.379 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.6159, allocations: 4 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6159, allocations: 0 / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.6163, allocations: 195.4 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.6163, allocations: 81.11 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.6163, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.6164, allocations: 15.98 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.6165, allocations: 11.98 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.6165, allocations: 0 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.78e-05/0.6166, allocations: 91.2 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6166, allocations: 0 / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002213/0.6168, allocations: 15.91 kB / 1.379 GB, free: 15.53 MB / 0.8855 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.000613/0.6174, allocations: 0.7294 MB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002578/0.6177, allocations: 71.88 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.6177, allocations: 4 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.6179, allocations: 27.98 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.6181, allocations: 12.06 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000975/0.6191, allocations: 0.4905 MB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.6193, allocations: 0.6809 MB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.087e-05/0.6194, allocations: 4 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.6194, allocations: 23.36 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/0.6194, allocations: 0 / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01362/0.6331, allocations: 1.515 MB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.6333, allocations: 204.5 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/2.147, allocations: 0 / 1.383 GB, free: 11.8 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat does not exist to compare? outputFormat=mat