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.47/2.47, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001056/0.001056, allocations: 187.9 kB / 0.4902 GB, free: 2.227 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.671/1.671, allocations: 223.1 MB / 0.7992 GB, free: 15.65 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.001004/0.001004, allocations: 94.17 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003825, allocations: 15.95 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2841, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/0.4776, allocations: 149.9 MB / 1.376 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.4779, allocations: 71.95 kB / 1.376 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002849/0.4807, allocations: 0.9521 MB / 1.377 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.986e-06/0.4807, allocations: 0 / 1.377 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.4808, allocations: 0 / 1.377 GB, free: 14.31 MB / 0.8855 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.0004926/0.4813, allocations: 363.2 kB / 1.377 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.4813, allocations: 8.031 kB / 1.377 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/0.4814, allocations: 42.56 kB / 1.377 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.4814, allocations: 7.906 kB / 1.377 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.4816, allocations: 171 kB / 1.377 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.4816, allocations: 0 / 1.377 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.4816, allocations: 4 kB / 1.377 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.4819, allocations: 77.59 kB / 1.377 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.4819, allocations: 0 / 1.377 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.4819, allocations: 3.984 kB / 1.377 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.4819, allocations: 4 kB / 1.377 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.4821, allocations: 55.95 kB / 1.377 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.4826, allocations: 288.8 kB / 1.378 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.4828, allocations: 70.48 kB / 1.378 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.4828, allocations: 0 / 1.378 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.4829, allocations: 34.69 kB / 1.378 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4829, allocations: 3.938 kB / 1.378 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0004209/0.4833, allocations: 129.6 kB / 1.378 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.4833, allocations: 59.3 kB / 1.378 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.4834, allocations: 105 kB / 1.378 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.4834, allocations: 25.7 kB / 1.378 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.4835, allocations: 84.14 kB / 1.378 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.4835, allocations: 11.81 kB / 1.378 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.4835, allocations: 0 / 1.378 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.4836, allocations: 322.8 kB / 1.378 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.4838, allocations: 27.98 kB / 1.378 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.252e-05/0.4839, allocations: 31.97 kB / 1.378 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.484, allocations: 23.98 kB / 1.378 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.484, allocations: 0 / 1.378 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002482/0.4842, allocations: 101.9 kB / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4843, allocations: 4 kB / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4843, allocations: 0 / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4843, allocations: 48 / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.4844, allocations: 23.91 kB / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4844, allocations: 0 / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.19e-05/0.4845, allocations: 15.94 kB / 1.379 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.4845, allocations: 4 kB / 1.379 GB, free: 12.03 MB / 0.8855 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 () * 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 9.129e-05/0.4846, allocations: 110.6 kB / 1.379 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.4847, allocations: 7.906 kB / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.4847, allocations: 3.906 kB / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.4847, allocations: 0 / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.4847, allocations: 7.984 kB / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4847, allocations: 0 / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.4849, allocations: 173.6 kB / 1.379 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4849, allocations: 4 kB / 1.379 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.484e-05/0.485, allocations: 15.98 kB / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.485, allocations: 0 / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4851, allocations: 3.984 kB / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.4851, allocations: 0 / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4851, allocations: 0 / 1.379 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.4854, allocations: 199.4 kB / 1.379 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.4854, allocations: 81.02 kB / 1.379 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.4854, allocations: 4 kB / 1.379 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.4856, allocations: 11.98 kB / 1.379 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.4856, allocations: 11.98 kB / 1.379 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4856, allocations: 4 kB / 1.379 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.821e-05/0.4857, allocations: 87.28 kB / 1.379 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4857, allocations: 3.938 kB / 1.379 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002138/0.4859, allocations: 23.86 kB / 1.379 GB, free: 11.2 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 (intGreEquThr.u,intGreEquThr.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.000609/0.4865, allocations: 0.7265 MB / 1.38 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.4868, allocations: 71.89 kB / 1.38 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4868, allocations: 0 / 1.38 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.4869, allocations: 35.97 kB / 1.38 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.4872, allocations: 9.062 kB / 1.38 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009363/0.4881, allocations: 494.4 kB / 1.381 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.4883, allocations: 0.6848 MB / 1.381 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.396e-05/0.4884, allocations: 4 kB / 1.381 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.4885, allocations: 19.42 kB / 1.381 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/0.4885, allocations: 0 / 1.381 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.4998, allocations: 1.522 MB / 1.383 GB, free: 7.719 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/0.5, allocations: 201.5 kB / 1.383 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.102, allocations: 0 / 1.383 GB, free: 7.48 MB / 0.8855 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