Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.577/2.577, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001137/0.001138, allocations: 183 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.626/1.626, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.0009965/0.0009966, allocations: 102.9 kB / 0.9396 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 14.34 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3038, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1873/0.4912, allocations: 149.9 MB / 1.376 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.4915, allocations: 67.95 kB / 1.376 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002874/0.4944, allocations: 0.9431 MB / 1.377 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4944, allocations: 0 / 1.377 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.4944, allocations: 4 kB / 1.377 GB, free: 2.434 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.0004696/0.4949, allocations: 368.2 kB / 1.377 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4949, allocations: 12.56 kB / 1.377 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.495, allocations: 34.5 kB / 1.377 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.495, allocations: 4 kB / 1.377 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.4952, allocations: 174.9 kB / 1.377 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4952, allocations: 4 kB / 1.377 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.4952, allocations: 8 kB / 1.377 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.4954, allocations: 69.64 kB / 1.377 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.4954, allocations: 7.938 kB / 1.377 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.4955, allocations: 3.984 kB / 1.377 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4955, allocations: 4 kB / 1.377 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.4957, allocations: 59.89 kB / 1.377 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.4962, allocations: 288.8 kB / 1.378 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.4964, allocations: 66.53 kB / 1.378 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.4964, allocations: 4.031 kB / 1.378 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.4964, allocations: 38.5 kB / 1.378 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.4964, allocations: 0 / 1.378 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004481/0.4969, allocations: 121.7 kB / 1.378 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.497, allocations: 63.36 kB / 1.378 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.146e-05/0.4971, allocations: 96.98 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.4971, allocations: 29.7 kB / 1.378 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.4971, allocations: 84.14 kB / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.4972, allocations: 11.78 kB / 1.378 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/0.4972, allocations: 4 kB / 1.378 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4973, allocations: 318.8 kB / 1.378 GB, free: 392 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.4974, allocations: 27.98 kB / 1.378 GB, free: 364 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.802e-05/0.4975, allocations: 31.97 kB / 1.378 GB, free: 332 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.4977, allocations: 27.92 kB / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4977, allocations: 0 / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002524/0.4979, allocations: 101.5 kB / 1.379 GB, free: 196 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4979, allocations: 4 kB / 1.379 GB, free: 192 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.498, allocations: 4 kB / 1.379 GB, free: 188 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.498, allocations: 0 / 1.379 GB, free: 188 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.4981, allocations: 11.98 kB / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4981, allocations: 4 kB / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.92e-05/0.4982, allocations: 15.94 kB / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.4983, allocations: 4 kB / 1.379 GB, free: 152 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 (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 9.225e-05/0.4984, allocations: 111.5 kB / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.4984, allocations: 7.984 kB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.4984, allocations: 7.906 kB / 1.379 GB, free: 16 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4984, allocations: 0 / 1.379 GB, free: 16 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4984, allocations: 4 kB / 1.379 GB, free: 12 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.4984, allocations: 0 / 1.379 GB, free: 12 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.4987, allocations: 181.5 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4987, allocations: 3.938 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.4988, allocations: 15.98 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4988, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.4988, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4988, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4988, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.4991, allocations: 203.7 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.4992, allocations: 77.11 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.4992, allocations: 0 / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.4994, allocations: 15.98 kB / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.4994, allocations: 11.98 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.4994, allocations: 3.938 kB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.821e-05/0.4995, allocations: 91.27 kB / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4995, allocations: 0 / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002519/0.4998, allocations: 11.91 kB / 1.379 GB, free: 15.32 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 (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.0006447/0.5004, allocations: 0.7327 MB / 1.38 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.5007, allocations: 67.94 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5007, allocations: 0 / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.5008, allocations: 39.91 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.501, allocations: 4 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.5021, allocations: 498.4 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.5024, allocations: 0.6809 MB / 1.381 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.136e-05/0.5024, allocations: 11.92 kB / 1.381 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.5025, allocations: 19.44 kB / 1.381 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5025, allocations: 0 / 1.381 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.5159, allocations: 1.506 MB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.5162, allocations: 190.5 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/2.072, allocations: 2.5 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat does not exist to compare? outputFormat=mat