Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001286/0.001286, allocations: 176.8 kB / 487.4 MB, free: 5.023 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.564/1.564, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 103.6 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.026e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2499, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9304/1.18, allocations: 148.3 MB / 1.351 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001812/1.181, allocations: 65.78 kB / 1.351 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003062/1.184, allocations: 0.948 MB / 1.352 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/1.184, allocations: 0 / 1.352 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.753e-06/1.184, allocations: 1.281 kB / 1.352 GB, free: 33.82 MB / 0.8386 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.0003536/1.184, allocations: 350.8 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.184, allocations: 9.938 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/1.184, allocations: 10.56 kB / 1.352 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/1.184, allocations: 170.9 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/1.184, allocations: 1.281 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/1.184, allocations: 2.688 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.459e-05/1.184, allocations: 23.58 kB / 1.352 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.849e-05/1.184, allocations: 49.72 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/1.184, allocations: 0 / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/1.185, allocations: 2.172 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/1.185, allocations: 1.312 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/1.185, allocations: 273.5 kB / 1.353 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/1.185, allocations: 46.7 kB / 1.353 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/1.185, allocations: 19.92 kB / 1.353 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/1.185, allocations: 0.6562 kB / 1.353 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/1.185, allocations: 34.56 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/1.185, allocations: 0 / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001732/1.185, allocations: 56.56 kB / 1.353 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/1.185, allocations: 56 kB / 1.353 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.132e-05/1.185, allocations: 98.22 kB / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/1.185, allocations: 29.64 kB / 1.353 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/1.185, allocations: 91.16 kB / 1.353 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/1.185, allocations: 9.734 kB / 1.353 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/1.185, allocations: 0 / 1.353 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.186, allocations: 322.3 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/1.186, allocations: 9.906 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.212e-05/1.186, allocations: 10.88 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.685e-05/1.186, allocations: 10.72 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/1.186, allocations: 0 / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.832e-05/1.186, allocations: 55.05 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/1.186, allocations: 5.875 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/1.186, allocations: 1.312 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/1.186, allocations: 0 / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/1.186, allocations: 19.94 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/1.186, allocations: 5.75 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/1.186, allocations: 13.98 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/1.186, allocations: 1.344 kB / 1.354 GB, free: 32.23 MB / 0.8386 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.658e-05/1.186, allocations: 114.1 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.567e-05/1.186, allocations: 56.25 kB / 1.354 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/1.186, allocations: 5.875 kB / 1.354 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/1.186, allocations: 10.38 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/1.186, allocations: 1.312 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.186, allocations: 0.6094 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/1.186, allocations: 0 / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/1.186, allocations: 159.4 kB / 1.354 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.186, allocations: 0 / 1.354 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/1.187, allocations: 15.67 kB / 1.354 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/1.187, allocations: 0 / 1.354 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/1.187, allocations: 2.438 kB / 1.354 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.187, allocations: 8.609 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.187, allocations: 7.938 kB / 1.354 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/1.187, allocations: 153.7 kB / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/1.187, allocations: 77.86 kB / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/1.187, allocations: 0.8438 kB / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/1.187, allocations: 10.92 kB / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/1.187, allocations: 11.78 kB / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/1.187, allocations: 4.656 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.759e-05/1.187, allocations: 88 kB / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.187, allocations: 0 / 1.354 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002134/1.187, allocations: 20.23 kB / 1.354 GB, free: 31.58 MB / 0.8386 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.0003542/1.188, allocations: 0.6899 MB / 1.355 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.671e-05/1.188, allocations: 31.89 kB / 1.355 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.188, allocations: 0 / 1.355 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.515e-05/1.188, allocations: 19.45 kB / 1.355 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/1.188, allocations: 6.406 kB / 1.355 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/1.188, allocations: 112.8 kB / 1.355 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/1.188, allocations: 0.6832 MB / 1.356 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.456e-05/1.189, allocations: 8.578 kB / 1.356 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/1.189, allocations: 16.7 kB / 1.356 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.189, allocations: 0 / 1.356 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/1.209, allocations: 1.188 MB / 1.357 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/1.209, allocations: 150.9 kB / 1.357 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.801, allocations: 7.562 kB / 1.357 GB, free: 29.83 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat does not exist to compare? outputFormat=mat