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.359/2.359, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001262/0.001262, allocations: 184.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.00103/0.00103, allocations: 99.75 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.197e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3249, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9041/1.229, allocations: 149.8 MB / 1.365 GB, free: 4.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/1.229, allocations: 69.72 kB / 1.365 GB, free: 4.234 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002936/1.232, allocations: 0.9439 MB / 1.366 GB, free: 3.387 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.164e-06/1.232, allocations: 3.938 kB / 1.366 GB, free: 3.383 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.102e-05/1.232, allocations: 8 kB / 1.366 GB, free: 3.375 MB / 0.823 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.0004548/1.233, allocations: 349.5 kB / 1.366 GB, free: 2.996 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/1.233, allocations: 12.03 kB / 1.367 GB, free: 2.984 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.742e-05/1.233, allocations: 38.42 kB / 1.367 GB, free: 2.941 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/1.233, allocations: 7.906 kB / 1.367 GB, free: 2.934 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/1.233, allocations: 163 kB / 1.367 GB, free: 2.734 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/1.233, allocations: 4 kB / 1.367 GB, free: 2.73 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/1.233, allocations: 4 kB / 1.367 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/1.233, allocations: 53.11 kB / 1.367 GB, free: 2.676 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.233, allocations: 4 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/1.233, allocations: 2.688 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/1.233, allocations: 0 / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.292e-05/1.233, allocations: 27.44 kB / 1.367 GB, free: 2.652 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/1.234, allocations: 292.6 kB / 1.367 GB, free: 2.336 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/1.234, allocations: 53.44 kB / 1.367 GB, free: 2.285 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/1.234, allocations: 19.77 kB / 1.367 GB, free: 2.27 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/1.234, allocations: 4.062 kB / 1.367 GB, free: 2.266 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/1.234, allocations: 34.69 kB / 1.367 GB, free: 2.223 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.492e-06/1.234, allocations: 0 / 1.367 GB, free: 2.223 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001926/1.234, allocations: 67.05 kB / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/1.234, allocations: 55.41 kB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/1.234, allocations: 100.9 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/1.234, allocations: 25.7 kB / 1.367 GB, free: 1.961 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/1.235, allocations: 95.16 kB / 1.368 GB, free: 1.867 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/1.235, allocations: 7.656 kB / 1.368 GB, free: 1.863 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/1.235, allocations: 0 / 1.368 GB, free: 1.863 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.235, allocations: 310.8 kB / 1.368 GB, free: 1.551 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/1.235, allocations: 15.38 kB / 1.368 GB, free: 1.539 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-05/1.235, allocations: 22.67 kB / 1.368 GB, free: 1.523 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.502e-05/1.235, allocations: 7.5 kB / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.235, allocations: 0 / 1.368 GB, free: 1.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001123/1.235, allocations: 56.38 kB / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.235, allocations: 4 kB / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.235, allocations: 0 / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.235, allocations: 0 / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/1.235, allocations: 15.98 kB / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.235, allocations: 3.953 kB / 1.368 GB, free: 1.441 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.73e-05/1.235, allocations: 19.92 kB / 1.368 GB, free: 1.422 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/1.235, allocations: 0 / 1.368 GB, free: 1.422 MB / 0.823 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 () * 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.515e-05/1.235, allocations: 116.4 kB / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/1.235, allocations: 7.891 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/1.235, allocations: 11.34 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.235, allocations: 3.938 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.235, allocations: 2.688 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.235, allocations: 3.953 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/1.236, allocations: 175.4 kB / 1.368 GB, free: 1.066 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.236, allocations: 4 kB / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.493e-05/1.236, allocations: 11.98 kB / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/1.236, allocations: 0 / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/1.236, allocations: 0 / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/1.236, allocations: 4 kB / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.236, allocations: 0 / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/1.236, allocations: 157.9 kB / 1.368 GB, free: 0.8867 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/1.236, allocations: 85 kB / 1.369 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/1.236, allocations: 0 / 1.369 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/1.236, allocations: 11.98 kB / 1.369 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/1.236, allocations: 15.11 kB / 1.369 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/1.236, allocations: 0 / 1.369 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.578e-05/1.236, allocations: 86.47 kB / 1.369 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/1.236, allocations: 0 / 1.369 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002281/1.237, allocations: 15.56 kB / 1.369 GB, free: 0.668 MB / 0.823 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 () * 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.0005077/1.237, allocations: 0.6956 MB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001122/1.237, allocations: 38.77 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.237, allocations: 0 / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.449e-05/1.237, allocations: 15.81 kB / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/1.238, allocations: 9.203 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/1.238, allocations: 124.9 kB / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/1.238, allocations: 0.6911 MB / 1.37 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.999e-05/1.238, allocations: 0 / 1.37 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/1.238, allocations: 18.98 kB / 1.37 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/1.238, allocations: 4 kB / 1.37 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/1.251, allocations: 1.51 MB / 1.372 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/1.251, allocations: 170.6 kB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.832, allocations: 0 / 1.372 GB, free: 13.45 MB / 0.8386 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