Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 285.4 MB / 298 MB, free: 5.973 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.001112/0.001112, allocations: 176.9 kB / 366.4 MB, free: 2.078 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.388/1.388, allocations: 205.1 MB / 0.6248 GB, free: 7.699 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.0007307/0.0007306, allocations: 100.2 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.854e-05, allocations: 4 kB / 0.8584 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.6977, allocations: 115.3 MB / 0.971 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.8932, allocations: 137.7 MB / 1.105 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.8934, allocations: 71.95 kB / 1.106 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003061/0.8965, allocations: 0.9402 MB / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8966, allocations: 0 / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.8966, allocations: 3.531 kB / 1.106 GB, free: 13.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.0004652/0.8971, allocations: 355.5 kB / 1.107 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.8971, allocations: 8.031 kB / 1.107 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.8972, allocations: 38.56 kB / 1.107 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.8972, allocations: 3.906 kB / 1.107 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.8974, allocations: 171 kB / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.8974, allocations: 3.562 kB / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.8974, allocations: 4 kB / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.8976, allocations: 55.89 kB / 1.107 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8976, allocations: 2.953 kB / 1.107 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.8976, allocations: 0 / 1.107 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.8976, allocations: 0 / 1.107 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.1e-05/0.8977, allocations: 31.98 kB / 1.107 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.8982, allocations: 285.6 kB / 1.107 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.8983, allocations: 55.66 kB / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.8984, allocations: 17.42 kB / 1.107 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.8984, allocations: 0.6875 kB / 1.107 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.8984, allocations: 41 kB / 1.108 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.8984, allocations: 0 / 1.108 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001989/0.8987, allocations: 53.83 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.8987, allocations: 55.34 kB / 1.108 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.8988, allocations: 101 kB / 1.108 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.8988, allocations: 30.67 kB / 1.108 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.8989, allocations: 90.77 kB / 1.108 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.8989, allocations: 5.656 kB / 1.108 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.8989, allocations: 4 kB / 1.108 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.899, allocations: 322.8 kB / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.382e-05/0.8991, allocations: 12 kB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.731e-05/0.8991, allocations: 8.719 kB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.919e-05/0.8992, allocations: 20.88 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.8992, allocations: 0 / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001263/0.8993, allocations: 65.58 kB / 1.108 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.8993, allocations: 5.375 kB / 1.108 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.8993, allocations: 1.188 kB / 1.108 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.8994, allocations: 0 / 1.108 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.8995, allocations: 23.11 kB / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.8995, allocations: 0 / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.8996, allocations: 11.08 kB / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.8996, allocations: 4 kB / 1.108 GB, free: 11.01 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 (intLesEquThr.u,intLesEquThr.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 7.341e-05/0.8997, allocations: 112.9 kB / 1.108 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.8997, allocations: 4 kB / 1.108 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.8998, allocations: 5.625 kB / 1.108 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8998, allocations: 0 / 1.108 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8998, allocations: 3.375 kB / 1.108 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8998, allocations: 0 / 1.108 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.9, allocations: 181.6 kB / 1.109 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.9, allocations: 0 / 1.109 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.9001, allocations: 15.98 kB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.9001, allocations: 0 / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.9002, allocations: 0 / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.9002, allocations: 0 / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9002, allocations: 7.172 kB / 1.109 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.9003, allocations: 159.3 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.9004, allocations: 79.42 kB / 1.109 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.9004, allocations: 8 kB / 1.109 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.9005, allocations: 11.98 kB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.9006, allocations: 7.984 kB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.9006, allocations: 8 kB / 1.109 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.037e-05/0.9007, allocations: 86.94 kB / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9007, allocations: 0 / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002314/0.9009, allocations: 19.94 kB / 1.109 GB, free: 10.23 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 (intLesEquThr.u,intLesEquThr.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.0004988/0.9014, allocations: 0.7045 MB / 1.11 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.9016, allocations: 28 kB / 1.11 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9016, allocations: 0 / 1.11 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.857e-05/0.9016, allocations: 19.98 kB / 1.11 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.9018, allocations: 4 kB / 1.11 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.9023, allocations: 124.8 kB / 1.11 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.9025, allocations: 0.6848 MB / 1.11 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.351e-05/0.9026, allocations: 7.984 kB / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.9026, allocations: 15.44 kB / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.9027, allocations: 0 / 1.111 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.9153, allocations: 1.529 MB / 1.112 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.9155, allocations: 182.6 kB / 1.112 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/2.436, allocations: 2.906 kB / 1.112 GB, free: 6.996 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)