Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.243/2.243, 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.001042/0.001042, allocations: 179.3 kB / 498.1 MB, free: 5.742 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.455/1.455, allocations: 223.2 MB / 0.7948 GB, free: 18.89 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.0009642/0.0009642, allocations: 96.33 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003965, allocations: 10.09 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3023, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.4964, allocations: 149.1 MB / 1.369 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.4967, allocations: 71.95 kB / 1.369 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002976/0.4997, allocations: 0.9482 MB / 1.37 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4997, allocations: 0 / 1.37 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.4997, allocations: 0 / 1.37 GB, free: 3.184 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.0004825/0.5002, allocations: 363.2 kB / 1.37 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.5003, allocations: 12.03 kB / 1.37 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.5003, allocations: 30.56 kB / 1.37 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.5004, allocations: 3.906 kB / 1.37 GB, free: 2.727 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.5005, allocations: 178.9 kB / 1.37 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.5006, allocations: 8 kB / 1.37 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.5006, allocations: 0 / 1.37 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.5008, allocations: 77.59 kB / 1.37 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5008, allocations: 0 / 1.37 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5009, allocations: 0 / 1.37 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.5009, allocations: 0 / 1.37 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.5011, allocations: 59.95 kB / 1.37 GB, free: 2.363 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.5016, allocations: 288.7 kB / 1.37 GB, free: 2.031 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.5018, allocations: 74.47 kB / 1.371 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.5018, allocations: 0 / 1.371 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.5018, allocations: 38.56 kB / 1.371 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.5018, allocations: 3.938 kB / 1.371 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004506/0.5023, allocations: 121.8 kB / 1.371 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.5024, allocations: 59.3 kB / 1.371 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.452e-05/0.5025, allocations: 105 kB / 1.371 GB, free: 1.594 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.5025, allocations: 29.7 kB / 1.371 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.5025, allocations: 84.14 kB / 1.371 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.5026, allocations: 11.81 kB / 1.371 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.5026, allocations: 0 / 1.371 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.5027, allocations: 314.8 kB / 1.371 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.5028, allocations: 31.98 kB / 1.371 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.466e-05/0.5029, allocations: 27.97 kB / 1.371 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.503, allocations: 27.98 kB / 1.371 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.503, allocations: 4 kB / 1.371 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002603/0.5033, allocations: 93.92 kB / 1.371 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.5033, allocations: 4 kB / 1.371 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.5033, allocations: 48 / 1.371 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.5034, allocations: 3.984 kB / 1.371 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.5035, allocations: 27.86 kB / 1.372 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.5035, allocations: 4 kB / 1.372 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.484e-05/0.5036, allocations: 15.94 kB / 1.372 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.5036, allocations: 0 / 1.372 GB, free: 0.9023 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 (intLesThr.u,intLesThr.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.783e-05/0.5037, allocations: 117.8 kB / 1.372 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.5037, allocations: 3.906 kB / 1.372 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.5038, allocations: 7.906 kB / 1.372 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.5038, allocations: 8 kB / 1.372 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.5038, allocations: 0 / 1.372 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5038, allocations: 0 / 1.372 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.504, allocations: 173.6 kB / 1.372 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.504, allocations: 0 / 1.372 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-05/0.5041, allocations: 15.98 kB / 1.372 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.5041, allocations: 0 / 1.372 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.5041, allocations: 0 / 1.372 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5041, allocations: 0 / 1.372 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5041, allocations: 8 kB / 1.372 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.5045, allocations: 191.4 kB / 1.372 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.5046, allocations: 81.02 kB / 1.372 GB, free: 212 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.5046, allocations: 8 kB / 1.372 GB, free: 204 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.5047, allocations: 11.98 kB / 1.372 GB, free: 192 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.5048, allocations: 7.984 kB / 1.372 GB, free: 184 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.5048, allocations: 4 kB / 1.372 GB, free: 180 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.5048, allocations: 87.27 kB / 1.372 GB, free: 92 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5048, allocations: 0 / 1.372 GB, free: 92 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002272/0.5051, allocations: 23.88 kB / 1.372 GB, free: 68 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 (intLesThr.u,intLesThr.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.0006848/0.5058, allocations: 0.7317 MB / 1.373 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.506, allocations: 71.88 kB / 1.373 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5061, allocations: 0 / 1.373 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.5062, 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.0002224/0.5064, allocations: 8 kB / 1.373 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.5074, allocations: 483.4 kB / 1.374 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.5077, allocations: 0.6887 MB / 1.374 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.61e-05/0.5078, allocations: 8 kB / 1.374 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.5078, allocations: 11.55 kB / 1.374 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of SimCode: time 5.01e-07/0.5078, allocations: 3.938 kB / 1.374 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.521, allocations: 1.513 MB / 1.376 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/0.5214, allocations: 195.8 kB / 1.376 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.111, allocations: 0 / 1.376 GB, free: 12.31 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat does not exist to compare? outputFormat=mat