Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.0009418/0.0009422, allocations: 173 kB / 492.3 MB, free: 0.5977 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.637/1.637, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.001083/0.001083, allocations: 91.91 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.883e-05/4.885e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3311, allocations: 142.4 MB / 1.213 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9914/1.323, allocations: 149 MB / 1.358 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/1.323, allocations: 69.8 kB / 1.358 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003431/1.326, allocations: 0.952 MB / 1.359 GB, free: 34.74 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/1.326, allocations: 3.844 kB / 1.359 GB, free: 34.74 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.498e-06/1.326, allocations: 0 / 1.359 GB, free: 34.74 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.0003629/1.327, allocations: 350.4 kB / 1.359 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.327, allocations: 7.656 kB / 1.359 GB, free: 34.39 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/1.327, allocations: 39.27 kB / 1.359 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/1.327, allocations: 9.875 kB / 1.359 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/1.327, allocations: 168.3 kB / 1.36 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/1.327, allocations: 3.5 kB / 1.36 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/1.327, allocations: 3.906 kB / 1.36 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/1.327, allocations: 57.94 kB / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/1.327, allocations: 0 / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/1.327, allocations: 3.812 kB / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/1.327, allocations: 0 / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.476e-05/1.327, allocations: 26.69 kB / 1.36 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/1.328, allocations: 289.5 kB / 1.36 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/1.328, allocations: 55.08 kB / 1.36 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.026e-05/1.328, allocations: 19.86 kB / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/1.328, allocations: 4.531 kB / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/1.328, allocations: 34.38 kB / 1.36 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/1.328, allocations: 4 kB / 1.36 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001968/1.328, allocations: 54.02 kB / 1.36 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/1.328, allocations: 63.14 kB / 1.36 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/1.328, allocations: 101.8 kB / 1.36 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/1.328, allocations: 29.45 kB / 1.36 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/1.328, allocations: 88.75 kB / 1.36 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/1.328, allocations: 7.844 kB / 1.36 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/1.328, allocations: 0 / 1.36 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.121e-05/1.328, allocations: 319.8 kB / 1.361 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/1.328, allocations: 14.25 kB / 1.361 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/1.329, allocations: 10.16 kB / 1.361 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.312e-05/1.329, allocations: 8.203 kB / 1.361 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.329, allocations: 3.312 kB / 1.361 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001064/1.329, allocations: 55.94 kB / 1.361 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.329, allocations: 7.781 kB / 1.361 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.329, allocations: 0 / 1.361 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.693e-05/1.329, allocations: 3.75 kB / 1.361 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/1.329, allocations: 19.61 kB / 1.361 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.329, allocations: 0 / 1.361 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-05/1.329, allocations: 22.88 kB / 1.361 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/1.329, allocations: 3.875 kB / 1.361 GB, free: 33.07 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 (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 6.817e-05/1.329, allocations: 106.1 kB / 1.361 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/1.329, allocations: 5.109 kB / 1.361 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/1.329, allocations: 7.219 kB / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.329, allocations: 0 / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.329, allocations: 7.312 kB / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/1.329, allocations: 0 / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/1.329, allocations: 181.7 kB / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.329, allocations: 0 / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.914e-05/1.329, allocations: 15.55 kB / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.329, allocations: 0 / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/1.329, allocations: 0 / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.329, allocations: 5.625 kB / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.329, allocations: 3.812 kB / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/1.33, allocations: 165.7 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/1.33, allocations: 78.89 kB / 1.361 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/1.33, allocations: 0 / 1.361 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/1.33, allocations: 10.7 kB / 1.361 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/1.33, allocations: 11.23 kB / 1.361 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/1.33, allocations: 4.594 kB / 1.361 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.005e-05/1.33, allocations: 87.38 kB / 1.361 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.33, allocations: 0 / 1.361 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002278/1.33, allocations: 19.69 kB / 1.361 GB, free: 32.43 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 (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.0004177/1.331, allocations: 0.7017 MB / 1.362 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001058/1.331, allocations: 32.45 kB / 1.362 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.331, allocations: 4 kB / 1.362 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.372e-05/1.331, allocations: 17.02 kB / 1.362 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/1.331, allocations: 7.891 kB / 1.362 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/1.331, allocations: 113 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/1.332, allocations: 0.6861 MB / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.847e-05/1.332, allocations: 5.547 kB / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/1.332, allocations: 16.31 kB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of SimCode: time 1.483e-06/1.332, allocations: 0 / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/1.343, allocations: 1.516 MB / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/1.344, allocations: 156.6 kB / 1.365 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/2.861, allocations: 4.562 kB / 1.365 GB, free: 30.55 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat does not exist to compare? outputFormat=mat