Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 289.7 MB / 302.3 MB, free: 2.195 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.0013/0.0013, allocations: 181.5 kB / 371.6 MB, free: 3.402 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.734/1.734, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.000879/0.0008791, allocations: 88.22 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.525e-05/4.527e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3038, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8554/1.159, allocations: 138.7 MB / 1.115 GB, free: 44.95 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/1.159, allocations: 72.31 kB / 1.115 GB, free: 44.92 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002426/1.162, allocations: 0.9316 MB / 1.116 GB, free: 44.28 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.272e-06/1.162, allocations: 4 kB / 1.116 GB, free: 44.28 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.162, allocations: 1.156 kB / 1.116 GB, free: 44.28 MB / 0.7448 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.0003399/1.162, allocations: 356.3 kB / 1.117 GB, free: 43.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.162, allocations: 12.03 kB / 1.117 GB, free: 43.89 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/1.162, allocations: 39.25 kB / 1.117 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/1.162, allocations: 8.812 kB / 1.117 GB, free: 43.85 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/1.163, allocations: 163.8 kB / 1.117 GB, free: 43.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/1.163, allocations: 7.828 kB / 1.117 GB, free: 43.65 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/1.163, allocations: 0.5 kB / 1.117 GB, free: 43.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/1.163, allocations: 56.39 kB / 1.117 GB, free: 43.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.163, allocations: 0.9375 kB / 1.117 GB, free: 43.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/1.163, allocations: 5.172 kB / 1.117 GB, free: 43.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/1.163, allocations: 3.344 kB / 1.117 GB, free: 43.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.748e-05/1.163, allocations: 30.75 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/1.163, allocations: 286.8 kB / 1.117 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.66e-05/1.163, allocations: 50.39 kB / 1.117 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/1.163, allocations: 19.7 kB / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/1.163, allocations: 0 / 1.117 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/1.163, allocations: 35.25 kB / 1.117 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/1.163, allocations: 2.844 kB / 1.117 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001713/1.164, allocations: 53.78 kB / 1.117 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/1.164, allocations: 58.88 kB / 1.117 GB, free: 43.08 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.526e-05/1.164, allocations: 103.8 kB / 1.118 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/1.164, allocations: 25.7 kB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/1.164, allocations: 93.73 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/1.164, allocations: 7.984 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/1.164, allocations: 1.312 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.372e-05/1.164, allocations: 318.2 kB / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.753e-05/1.164, allocations: 11.88 kB / 1.118 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/1.164, allocations: 14.56 kB / 1.118 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.125e-05/1.164, allocations: 12.45 kB / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.164, allocations: 4 kB / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.056e-05/1.164, allocations: 59.41 kB / 1.118 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.164, allocations: 4 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.164, allocations: 0.75 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/1.164, allocations: 0 / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/1.164, allocations: 16.19 kB / 1.118 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.164, allocations: 0 / 1.118 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.711e-05/1.164, allocations: 19.05 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/1.164, allocations: 6.953 kB / 1.118 GB, free: 42.43 MB / 0.7448 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 5.821e-05/1.164, allocations: 116 kB / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/1.164, allocations: 0 / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/1.164, allocations: 11.28 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.164, allocations: 5.344 kB / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/1.164, allocations: 0 / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.164, allocations: 0 / 1.118 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/1.165, allocations: 179.2 kB / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.165, allocations: 0 / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.903e-05/1.165, allocations: 20.14 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.165, allocations: 0 / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/1.165, allocations: 3 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.165, allocations: 3.375 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.165, allocations: 0 / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/1.165, allocations: 158.8 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/1.165, allocations: 85.23 kB / 1.119 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/1.165, allocations: 4 kB / 1.119 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/1.165, allocations: 12.31 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/1.165, allocations: 11.25 kB / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/1.165, allocations: 0 / 1.119 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.823e-05/1.165, allocations: 87.62 kB / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.102e-06/1.165, allocations: 0 / 1.119 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002054/1.165, allocations: 11.94 kB / 1.119 GB, free: 41.71 MB / 0.7448 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.0003055/1.166, allocations: 0.7103 MB / 1.119 GB, free: 41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.341e-05/1.166, allocations: 31.06 kB / 1.12 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.166, allocations: 0 / 1.12 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/1.166, allocations: 22.92 kB / 1.12 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/1.166, allocations: 4 kB / 1.12 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/1.166, allocations: 112 kB / 1.12 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/1.167, allocations: 0.6835 MB / 1.12 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.474e-05/1.167, allocations: 8.594 kB / 1.12 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/1.167, allocations: 18.12 kB / 1.12 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/1.167, allocations: 0 / 1.12 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/1.178, allocations: 1.526 MB / 1.122 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/1.179, allocations: 169.9 kB / 1.122 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.74, allocations: 5.625 kB / 1.122 GB, free: 39.09 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)