Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001217/0.001217, allocations: 169.2 kB / 498.1 MB, free: 5.758 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.499/1.499, allocations: 223.1 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.0008421/0.000842, allocations: 94.34 kB / 0.9346 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003795, allocations: 10.61 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3019, allocations: 142.3 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1946/0.4966, allocations: 149.1 MB / 1.369 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.4969, allocations: 67.95 kB / 1.369 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002951/0.4998, allocations: 0.9443 MB / 1.37 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4999, allocations: 0 / 1.37 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.4999, allocations: 0 / 1.37 GB, free: 3.234 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.0005009/0.5004, allocations: 367.2 kB / 1.37 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.5005, allocations: 8.031 kB / 1.37 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.5005, allocations: 34.56 kB / 1.37 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.5005, allocations: 7.906 kB / 1.37 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.5007, allocations: 174.9 kB / 1.37 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.5007, allocations: 0 / 1.37 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.5008, allocations: 8 kB / 1.37 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.501, allocations: 73.59 kB / 1.37 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.501, allocations: 0 / 1.37 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.501, allocations: 3.984 kB / 1.37 GB, free: 2.469 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.5011, allocations: 4 kB / 1.37 GB, free: 2.465 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.5013, allocations: 59.95 kB / 1.37 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.5018, allocations: 284.8 kB / 1.37 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.502, allocations: 70.42 kB / 1.371 GB, free: 2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.502, allocations: 12.23 kB / 1.371 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.5021, allocations: 34.55 kB / 1.371 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.684e-06/0.5021, allocations: 0 / 1.371 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004376/0.5025, allocations: 121.6 kB / 1.371 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.5026, allocations: 59.3 kB / 1.371 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.5026, allocations: 101 kB / 1.371 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.5027, allocations: 29.7 kB / 1.371 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.5027, allocations: 84.14 kB / 1.371 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.5028, allocations: 7.812 kB / 1.371 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.5028, allocations: 4 kB / 1.371 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5029, allocations: 322.8 kB / 1.371 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.503, allocations: 23.98 kB / 1.371 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.261e-05/0.5031, allocations: 31.97 kB / 1.371 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.5032, allocations: 27.98 kB / 1.371 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5032, allocations: 0 / 1.371 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002482/0.5035, allocations: 93.64 kB / 1.371 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.5035, allocations: 4 kB / 1.371 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.5035, allocations: 0 / 1.371 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.5035, allocations: 11.94 kB / 1.371 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.5037, allocations: 15.92 kB / 1.371 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.5037, allocations: 4 kB / 1.372 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.371e-05/0.5038, allocations: 15.94 kB / 1.372 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.5038, allocations: 0 / 1.372 GB, free: 0.957 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 (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.564e-05/0.5039, allocations: 114.2 kB / 1.372 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.5039, allocations: 3.906 kB / 1.372 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.504, allocations: 15.89 kB / 1.372 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.504, allocations: 3.984 kB / 1.372 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.504, allocations: 0 / 1.372 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.504, allocations: 0 / 1.372 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.5042, allocations: 177.6 kB / 1.372 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5042, allocations: 0 / 1.372 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.633e-05/0.5043, allocations: 11.98 kB / 1.372 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5043, allocations: 0 / 1.372 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.5043, allocations: 7.984 kB / 1.372 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5043, allocations: 4 kB / 1.372 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5043, allocations: 0 / 1.372 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.5046, allocations: 191.4 kB / 1.372 GB, free: 364 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.5047, allocations: 89.02 kB / 1.372 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.5047, allocations: 0 / 1.372 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.5048, allocations: 11.98 kB / 1.372 GB, free: 244 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.5049, allocations: 11.98 kB / 1.372 GB, free: 232 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.5049, allocations: 3.938 kB / 1.372 GB, free: 228 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.416e-05/0.505, allocations: 83.28 kB / 1.372 GB, free: 144 kB / 0.8698 GB Notification: Performance of sort global known variables: time 2.2e-07/0.505, allocations: 0 / 1.372 GB, free: 144 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002262/0.5052, allocations: 23.92 kB / 1.372 GB, free: 120 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 (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.0006625/0.5059, allocations: 0.7394 MB / 1.373 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.5061, allocations: 63.95 kB / 1.373 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5062, allocations: 0 / 1.373 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.5063, allocations: 31.97 kB / 1.373 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.5065, allocations: 14.61 kB / 1.373 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.5076, allocations: 486.4 kB / 1.374 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.5079, allocations: 0.6809 MB / 1.374 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.546e-05/0.5079, allocations: 8 kB / 1.374 GB, free: 14 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.508, allocations: 23.36 kB / 1.374 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of SimCode: time 4.61e-07/0.508, allocations: 0 / 1.374 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01261/0.5206, allocations: 1.507 MB / 1.376 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.5208, allocations: 194.7 kB / 1.376 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.108, allocations: 0 / 1.376 GB, free: 12.38 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat does not exist to compare? outputFormat=mat