Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.458/2.458, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001144/0.001144, allocations: 180.9 kB / 496.1 MB, free: 12.89 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.469/1.469, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.000861/0.0008612, allocations: 84 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.056e-05/4.058e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2876, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9453/1.233, allocations: 149.8 MB / 1.365 GB, free: 4.207 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/1.233, allocations: 69.84 kB / 1.365 GB, free: 4.172 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0028/1.236, allocations: 0.9495 MB / 1.366 GB, free: 3.316 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.293e-06/1.236, allocations: 4 kB / 1.366 GB, free: 3.312 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.135e-06/1.236, allocations: 0 / 1.366 GB, free: 3.312 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.0004182/1.236, allocations: 356.7 kB / 1.367 GB, free: 2.926 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.237, allocations: 8.031 kB / 1.367 GB, free: 2.918 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/1.237, allocations: 30.56 kB / 1.367 GB, free: 2.879 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/1.237, allocations: 7.906 kB / 1.367 GB, free: 2.871 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/1.237, allocations: 177.1 kB / 1.367 GB, free: 2.66 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/1.237, allocations: 4.25 kB / 1.367 GB, free: 2.66 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/1.237, allocations: 7.938 kB / 1.367 GB, free: 2.652 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/1.237, allocations: 52.42 kB / 1.367 GB, free: 2.602 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/1.237, allocations: 0 / 1.367 GB, free: 2.602 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/1.237, allocations: 3.375 kB / 1.367 GB, free: 2.602 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.237, allocations: 0 / 1.367 GB, free: 2.602 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.98e-05/1.237, allocations: 30.73 kB / 1.367 GB, free: 2.578 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/1.237, allocations: 292.9 kB / 1.367 GB, free: 2.262 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/1.238, allocations: 45.08 kB / 1.367 GB, free: 2.219 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/1.238, allocations: 23.27 kB / 1.367 GB, free: 2.199 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/1.238, allocations: 3.938 kB / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/1.238, allocations: 30.56 kB / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/1.238, allocations: 4 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001854/1.238, allocations: 62.95 kB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/1.238, allocations: 51.41 kB / 1.367 GB, free: 2.031 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.749e-05/1.238, allocations: 96.25 kB / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/1.238, allocations: 29.69 kB / 1.367 GB, free: 1.898 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/1.238, allocations: 90.36 kB / 1.368 GB, free: 1.809 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/1.238, allocations: 11.53 kB / 1.368 GB, free: 1.801 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/1.238, allocations: 0 / 1.368 GB, free: 1.801 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.238, allocations: 322.6 kB / 1.368 GB, free: 1.48 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.001e-05/1.238, allocations: 10.98 kB / 1.368 GB, free: 1.473 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/1.238, allocations: 15 kB / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.109e-05/1.238, allocations: 6.625 kB / 1.368 GB, free: 1.457 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.238, allocations: 0 / 1.368 GB, free: 1.457 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001047/1.238, allocations: 59.06 kB / 1.368 GB, free: 1.402 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.239, allocations: 8 kB / 1.368 GB, free: 1.395 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.239, allocations: 0 / 1.368 GB, free: 1.395 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.239, allocations: 3.984 kB / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/1.239, allocations: 19.97 kB / 1.368 GB, free: 1.371 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/1.239, allocations: 3.953 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.208e-05/1.239, allocations: 8 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/1.239, allocations: 11.55 kB / 1.368 GB, free: 1.352 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 (intGreThr.u,intGreThr.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 6.413e-05/1.239, allocations: 104.9 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/1.239, allocations: 7.906 kB / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/1.239, allocations: 7.344 kB / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.239, allocations: 3.938 kB / 1.368 GB, free: 1.223 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.239, allocations: 8.812 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.239, allocations: 3.953 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/1.239, allocations: 172.8 kB / 1.368 GB, free: 1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.239, allocations: 0 / 1.368 GB, free: 1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.059e-05/1.239, allocations: 11.98 kB / 1.368 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/1.239, allocations: 4 kB / 1.368 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/1.239, allocations: 8.5 kB / 1.368 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/1.239, allocations: 0 / 1.368 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.239, allocations: 0 / 1.368 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/1.239, allocations: 162.4 kB / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/1.239, allocations: 81.02 kB / 1.369 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/1.24, allocations: 8 kB / 1.369 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/1.24, allocations: 7.984 kB / 1.369 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.984e-05/1.24, allocations: 10.61 kB / 1.369 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/1.24, allocations: 4 kB / 1.369 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.085e-05/1.24, allocations: 86.22 kB / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.24, allocations: 4 kB / 1.369 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002086/1.24, allocations: 12 kB / 1.369 GB, free: 0.5938 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 (intGreThr.u,intGreThr.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.0004429/1.24, allocations: 0.6943 MB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000107/1.241, allocations: 37.8 kB / 1.369 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.241, allocations: 4 kB / 1.369 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/1.241, allocations: 15.44 kB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/1.241, allocations: 8 kB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/1.241, allocations: 124.9 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/1.241, allocations: 0.6809 MB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.765e-05/1.241, allocations: 8 kB / 1.37 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/1.241, allocations: 19.48 kB / 1.37 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of SimCode: time 3.2e-07/1.242, allocations: 4 kB / 1.37 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01127/1.253, allocations: 1.529 MB / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/1.253, allocations: 165 kB / 1.372 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.838, allocations: 2.25 kB / 1.372 GB, free: 13.39 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat does not exist to compare? outputFormat=mat