Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.619/2.619, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.00181/0.00181, allocations: 184 kB / 0.4902 GB, free: 2.281 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.695/1.695, allocations: 223.1 MB / 0.7992 GB, free: 14.67 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.001021/0.001021, allocations: 112 kB / 0.9396 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003594, allocations: 14.91 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2989, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.4964, allocations: 149.9 MB / 1.376 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.4967, allocations: 71.95 kB / 1.376 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003025/0.4998, allocations: 0.9431 MB / 1.377 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.835e-06/0.4998, allocations: 0 / 1.377 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.4998, allocations: 0 / 1.377 GB, free: 2.566 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.0004586/0.5003, allocations: 371.2 kB / 1.377 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.5004, allocations: 8.031 kB / 1.377 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.621e-05/0.5004, allocations: 38.5 kB / 1.377 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.5005, allocations: 7.984 kB / 1.377 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.5006, allocations: 166.9 kB / 1.377 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.5007, allocations: 7.938 kB / 1.377 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.5007, allocations: 0 / 1.377 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.5009, allocations: 77.66 kB / 1.377 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.5009, allocations: 0 / 1.377 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.5009, allocations: 0 / 1.377 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.5009, allocations: 4 kB / 1.377 GB, free: 1.797 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.5011, allocations: 63.94 kB / 1.377 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.5016, allocations: 288.8 kB / 1.378 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.5018, allocations: 66.55 kB / 1.378 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.5018, allocations: 0 / 1.378 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.5019, allocations: 34.59 kB / 1.378 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.5019, allocations: 0 / 1.378 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004387/0.5023, allocations: 129.6 kB / 1.378 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.5024, allocations: 59.34 kB / 1.378 GB, free: 1.082 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.665e-05/0.5025, allocations: 97 kB / 1.378 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.5025, allocations: 25.7 kB / 1.378 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.5025, allocations: 92.12 kB / 1.378 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.5026, allocations: 11.78 kB / 1.378 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.5026, allocations: 4 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5027, allocations: 318.8 kB / 1.378 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.5028, allocations: 27.97 kB / 1.378 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.5029, allocations: 23.98 kB / 1.378 GB, free: 480 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.503, allocations: 36.25 kB / 1.378 GB, free: 444 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.503, allocations: 0 / 1.378 GB, free: 444 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002506/0.5033, allocations: 105.5 kB / 1.379 GB, free: 332 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.5033, allocations: 4 kB / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5033, allocations: 4 kB / 1.379 GB, free: 324 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.5033, allocations: 0 / 1.379 GB, free: 324 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.5035, allocations: 15.98 kB / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5035, allocations: 0 / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.277e-05/0.5036, allocations: 15.94 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.5036, allocations: 0 / 1.379 GB, free: 292 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 (intLesEquThr.u,intLesEquThr.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.1e-05/0.5037, allocations: 120.1 kB / 1.379 GB, free: 164 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.5037, allocations: 0 / 1.379 GB, free: 164 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.5037, allocations: 7.906 kB / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5038, allocations: 0 / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5038, allocations: 0 / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.5038, allocations: 0 / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.504, allocations: 189.5 kB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.504, allocations: 3.938 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.541e-05/0.5041, allocations: 11.98 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.5041, allocations: 0 / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.5041, allocations: 8 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5041, allocations: 0 / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5041, allocations: 0 / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.5045, allocations: 195.4 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.5045, allocations: 85.09 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.5045, allocations: 0 / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.5046, allocations: 8 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.5047, allocations: 7.984 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.5047, allocations: 11.92 kB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.449e-05/0.5048, allocations: 83.28 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5048, allocations: 0 / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002228/0.505, allocations: 11.91 kB / 1.379 GB, free: 15.46 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 (intLesEquThr.u,intLesEquThr.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.0006198/0.5056, allocations: 0.7358 MB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.5059, allocations: 63.95 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5059, allocations: 0 / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.5061, allocations: 39.97 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.5063, allocations: 14 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009637/0.5072, allocations: 498.2 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.5075, allocations: 0.6848 MB / 1.381 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.271e-05/0.5075, allocations: 8 kB / 1.381 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.5076, allocations: 15.42 kB / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of SimCode: time 3.808e-06/0.5076, allocations: 0 / 1.381 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.5204, allocations: 1.514 MB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.5207, allocations: 204.2 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/2.193, allocations: 0 / 1.383 GB, free: 11.74 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat does not exist to compare? outputFormat=mat