Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.498/1.498, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00125/0.00125, allocations: 180.8 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009021/0.0009022, allocations: 96.33 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003722, allocations: 11.81 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2032, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001226/0.2045, allocations: 1.111 MB / 0.9013 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002808/0.2048, allocations: 137.8 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.2048, allocations: 0 / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.2049, allocations: 3.984 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.324e-05/0.2049, allocations: 11.86 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001165/0.2051, allocations: 27.92 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.559e-05/0.2051, allocations: 19.97 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.653e-05/0.2052, allocations: 11.98 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.2053, allocations: 11.94 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.222e-05/0.2053, allocations: 27.89 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.2054, allocations: 4 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.2054, allocations: 0 / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.2054, allocations: 4 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.2054, allocations: 37.64 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.792e-05/0.2055, allocations: 35.91 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.2055, allocations: 0 / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2055, allocations: 0 / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2055, allocations: 0 / 0.9016 GB, free: 62.38 MB / 0.6042 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.0003936/0.2059, allocations: 351.5 kB / 0.9019 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.206, allocations: 12.03 kB / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.723e-05/0.206, allocations: 34.56 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.206, allocations: 3.953 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.605e-05/0.2061, allocations: 171 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.2061, allocations: 8 kB / 0.9021 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.2062, allocations: 0 / 0.9021 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.2063, allocations: 73.59 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2063, allocations: 0 / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2064, allocations: 3.938 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.2064, allocations: 4 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.2066, allocations: 59.95 kB / 0.9023 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.2069, allocations: 288.8 kB / 0.9025 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.2071, allocations: 74.47 kB / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.2071, allocations: 4.062 kB / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.2072, allocations: 34.56 kB / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2072, allocations: 0 / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003686/0.2075, allocations: 129.7 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.2076, allocations: 55.39 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.506e-05/0.2076, allocations: 110.1 kB / 0.9029 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.2076, allocations: 33.62 kB / 0.903 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.2077, allocations: 88.08 kB / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.2077, allocations: 7.906 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.2077, allocations: 0 / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.146e-05/0.2078, allocations: 310.8 kB / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.462e-05/0.2079, allocations: 35.97 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.557e-05/0.208, allocations: 35.97 kB / 0.9034 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.895e-05/0.208, allocations: 23.98 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2081, allocations: 3.938 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000212/0.2083, allocations: 101.5 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2083, allocations: 4 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2083, allocations: 0 / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2083, allocations: 0 / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.2084, allocations: 15.98 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.2085, allocations: 8.016 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.526e-05/0.2085, allocations: 19.92 kB / 0.9036 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.2085, allocations: 4 kB / 0.9036 GB, free: 60.09 MB / 0.6042 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 5.348e-05/0.2086, allocations: 109.8 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.2086, allocations: 0 / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.2087, allocations: 11.91 kB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2087, allocations: 4 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.2087, allocations: 0 / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2087, allocations: 11.88 kB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.2088, allocations: 173.6 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2088, allocations: 4 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/0.2089, allocations: 11.98 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2089, allocations: 0 / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.2089, allocations: 3.984 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2089, allocations: 4 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2089, allocations: 0 / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.2092, allocations: 195.4 kB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.2092, allocations: 81.11 kB / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.2092, allocations: 4 kB / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.2093, allocations: 12.36 kB / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.2094, allocations: 11.98 kB / 0.9042 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.2094, allocations: 4 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.404e-05/0.2094, allocations: 79.28 kB / 0.9043 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2094, allocations: 0 / 0.9043 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002081/0.2096, allocations: 19.84 kB / 0.9043 GB, free: 59.27 MB / 0.6042 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.0003919/0.21, allocations: 0.728 MB / 0.905 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.2103, allocations: 67.89 kB / 0.9051 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2103, allocations: 0 / 0.9051 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.2104, allocations: 39.97 kB / 0.9051 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.2106, allocations: 4 kB / 0.9051 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008047/0.2114, allocations: 495.1 kB / 0.9056 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.519e-05/0.2115, allocations: 0.6887 MB / 0.9063 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.255e-05/0.2116, allocations: 3.938 kB / 0.9063 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.56e-05/0.2116, allocations: 19.42 kB / 0.9063 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2116, allocations: 0 / 0.9063 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.2221, allocations: 1.513 MB / 0.9078 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/0.2223, allocations: 199.1 kB / 0.9079 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/1.675, allocations: 3.938 kB / 0.908 GB, free: 55.55 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)