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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008968/0.0008971, allocations: 99.94 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000901/0.000901, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005597/0.0005599, allocations: 13.62 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2995, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.00103/0.3006, allocations: 425.6 kB / 0.7877 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.3017, allocations: 0.8216 MB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.3017, allocations: 4 kB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.3017, allocations: 3.938 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.474e-05/0.3018, allocations: 4 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.302, allocations: 23.95 kB / 0.7885 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.305e-05/0.3021, allocations: 27.91 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3022, allocations: 8 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.424e-05/0.3023, allocations: 11.98 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.349e-05/0.3024, allocations: 19.92 kB / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.3024, allocations: 4 kB / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.3024, allocations: 0 / 0.7886 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.3024, allocations: 19.91 kB / 0.7886 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.3025, allocations: 29.64 kB / 0.7886 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.173e-05/0.3025, allocations: 35.92 kB / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3026, allocations: 0 / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.828e-06/0.3026, allocations: 0 / 0.7886 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.3026, allocations: 3.938 kB / 0.7886 GB, free: 10.43 MB / 0.6075 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.0005425/0.3031, allocations: 351.5 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.3032, allocations: 12.03 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.3032, allocations: 34.55 kB / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.3033, allocations: 11.89 kB / 0.789 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.3034, allocations: 174.9 kB / 0.7892 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3035, allocations: 4 kB / 0.7892 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.3035, allocations: 0 / 0.7892 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.3037, allocations: 77.64 kB / 0.7893 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3037, allocations: 0 / 0.7893 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3037, allocations: 0 / 0.7893 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3037, allocations: 0 / 0.7893 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.304, allocations: 63.94 kB / 0.7893 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.3044, allocations: 296.7 kB / 0.7896 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.3046, allocations: 70.53 kB / 0.7897 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3046, allocations: 4 kB / 0.7897 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.3047, allocations: 34.56 kB / 0.7897 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3047, allocations: 0 / 0.7897 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004362/0.3051, allocations: 125.7 kB / 0.7898 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.3052, allocations: 55.36 kB / 0.7899 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.3053, allocations: 109.8 kB / 0.79 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3053, allocations: 25.7 kB / 0.79 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.3054, allocations: 96.03 kB / 0.7901 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.3054, allocations: 3.906 kB / 0.7901 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.3054, allocations: 0 / 0.7901 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3055, allocations: 318.8 kB / 0.7904 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3057, allocations: 31.97 kB / 0.7905 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.961e-05/0.3057, allocations: 23.98 kB / 0.7905 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.3059, allocations: 31.97 kB / 0.7905 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3059, allocations: 4 kB / 0.7905 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002321/0.3061, allocations: 89.59 kB / 0.7906 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3061, allocations: 4 kB / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3061, allocations: 0 / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3062, allocations: 7.922 kB / 0.7906 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.3063, allocations: 23.98 kB / 0.7906 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3063, allocations: 0 / 0.7906 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.3064, allocations: 19.8 kB / 0.7907 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.3064, allocations: 3.984 kB / 0.7907 GB, free: 8.145 MB / 0.6075 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.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked 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.319e-05/0.3065, allocations: 113.8 kB / 0.7908 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.3065, allocations: 4 kB / 0.7908 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.3066, allocations: 12.23 kB / 0.7908 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.3066, allocations: 0 / 0.7908 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3066, allocations: 0 / 0.7908 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.3066, allocations: 3.984 kB / 0.7908 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.3068, allocations: 181.7 kB / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3068, allocations: 0 / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.3069, allocations: 19.92 kB / 0.791 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3069, allocations: 0 / 0.791 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3069, allocations: 8 kB / 0.791 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3069, allocations: 0 / 0.791 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3069, allocations: 4 kB / 0.791 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.3072, allocations: 191.4 kB / 0.7912 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.3073, allocations: 81.11 kB / 0.7912 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3073, allocations: 7.984 kB / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/0.3074, allocations: 8 kB / 0.7913 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.3075, allocations: 11.98 kB / 0.7913 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.3075, allocations: 3.984 kB / 0.7913 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.3075, allocations: 83.59 kB / 0.7914 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3075, allocations: 0 / 0.7914 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002121/0.3077, allocations: 8 kB / 0.7914 GB, free: 7.316 MB / 0.6075 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.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked 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.0005631/0.3083, allocations: 0.7318 MB / 0.7921 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.3086, allocations: 67.94 kB / 0.7921 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3086, allocations: 4 kB / 0.7921 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3087, allocations: 35.91 kB / 0.7922 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.3089, allocations: 10.66 kB / 0.7922 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009629/0.3099, allocations: 478.4 kB / 0.7927 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.3102, allocations: 0.6848 MB / 0.7933 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.866e-05/0.3102, allocations: 11.98 kB / 0.7933 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.3103, allocations: 11.44 kB / 0.7933 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.3103, allocations: 0 / 0.7933 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.3222, allocations: 1.508 MB / 0.7948 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.3225, allocations: 191.1 kB / 0.795 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/2.429, allocations: 4.062 kB / 0.795 GB, free: 3.582 MB / 0.6075 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) Environment - environmentSimulation: