Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.936/1.936, allocations: 289.9 MB / 297.4 MB, free: 6.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 176.9 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.3 MB / 0.626 GB, free: 7.141 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009937/0.0009935, allocations: 95.78 kB / 0.74 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.15e-05, allocations: 8 kB / 0.8598 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7449/0.745, allocations: 116.3 MB / 0.9734 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.9406, allocations: 138 MB / 1.108 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.941, allocations: 67.95 kB / 1.108 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003011/0.944, allocations: 0.9458 MB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9441, allocations: 0.5312 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.9441, allocations: 1.156 kB / 1.109 GB, free: 11.05 MB / 0.7136 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.0004286/0.9445, allocations: 351.2 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.9446, allocations: 8.906 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.9446, allocations: 7.906 kB / 1.109 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.9448, allocations: 171.7 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.9448, allocations: 3.281 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.9448, allocations: 2.562 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.433e-05/0.9449, allocations: 29.05 kB / 1.11 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.945, allocations: 49.69 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.9451, allocations: 0.5312 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.9451, allocations: 4.484 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.9451, allocations: 0 / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.9455, allocations: 267.2 kB / 1.11 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.9456, allocations: 52.02 kB / 1.11 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.9457, allocations: 16.89 kB / 1.11 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.9457, allocations: 0.5625 kB / 1.11 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.9457, allocations: 31.52 kB / 1.11 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.9457, allocations: 1.156 kB / 1.11 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001908/0.9459, allocations: 57.67 kB / 1.11 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.946, allocations: 59.34 kB / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.562e-05/0.9461, allocations: 99.44 kB / 1.11 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.9461, allocations: 28.7 kB / 1.11 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.9462, allocations: 92.03 kB / 1.11 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.9462, allocations: 3.906 kB / 1.11 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-06/0.9462, allocations: 4 kB / 1.11 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.9463, allocations: 318.8 kB / 1.111 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.9464, allocations: 8 kB / 1.111 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.9464, allocations: 14.41 kB / 1.111 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.931e-05/0.9464, allocations: 15.92 kB / 1.111 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.9464, allocations: 0 / 1.111 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.583e-05/0.9465, allocations: 61.59 kB / 1.111 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.9466, allocations: 5.094 kB / 1.111 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.9466, allocations: 0 / 1.111 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.9466, allocations: 0 / 1.111 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.9467, allocations: 19.23 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.9467, allocations: 3.938 kB / 1.111 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.802e-05/0.9468, allocations: 12.86 kB / 1.111 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.9468, allocations: 2.75 kB / 1.111 GB, free: 9.121 MB / 0.7136 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.135e-05/0.9469, allocations: 108.9 kB / 1.111 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001015/0.947, allocations: 64.2 kB / 1.111 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.9471, allocations: 3.906 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.9471, allocations: 8.344 kB / 1.111 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.9471, allocations: 0 / 1.111 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9471, allocations: 3.344 kB / 1.111 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.9471, allocations: 0 / 1.111 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.9473, allocations: 150.2 kB / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.9473, allocations: 3.984 kB / 1.111 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.268e-05/0.9474, allocations: 15.98 kB / 1.111 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.9474, allocations: 0 / 1.111 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.9474, allocations: 2.125 kB / 1.111 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.9474, allocations: 1.719 kB / 1.111 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.9474, allocations: 7 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.9476, allocations: 158.2 kB / 1.111 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.9477, allocations: 85.28 kB / 1.111 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.9477, allocations: 0 / 1.111 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.9478, allocations: 12 kB / 1.111 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.9479, allocations: 19.95 kB / 1.111 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.9479, allocations: 4 kB / 1.111 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.838e-05/0.9479, allocations: 79.28 kB / 1.112 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9479, allocations: 0 / 1.112 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002133/0.9481, allocations: 15.94 kB / 1.112 GB, free: 8.316 MB / 0.7136 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.0004309/0.9486, allocations: 0.6929 MB / 1.112 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.9487, allocations: 27.98 kB / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.9487, allocations: 0 / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.136e-05/0.9487, allocations: 20 kB / 1.112 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.9489, allocations: 6.719 kB / 1.112 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.9493, allocations: 122.2 kB / 1.112 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.9496, allocations: 0.6885 MB / 1.113 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.029e-05/0.9497, allocations: 4 kB / 1.113 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.9497, allocations: 21.72 kB / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.9497, allocations: 3.375 kB / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.9685, allocations: 1.178 MB / 1.114 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/0.9688, allocations: 158.1 kB / 1.114 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.528, allocations: 1 kB / 1.114 GB, free: 5.324 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)