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.0008115/0.0008118, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009099/0.00091, allocations: 168.7 kB / 15.95 MB, free: 204 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.365/1.365, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.604/1.604, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005791/0.0005792, allocations: 17.72 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2428, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.0008079/0.2436, allocations: 429.5 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007865/0.2444, allocations: 0.8215 MB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.2445, allocations: 3.938 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.2445, allocations: 3.938 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.116e-05/0.2446, allocations: 15.98 kB / 0.7887 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.2447, allocations: 11.98 kB / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.263e-05/0.2448, allocations: 39.84 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.2449, allocations: 15.98 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.245, allocations: 11.98 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.395e-05/0.245, allocations: 23.86 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.245, allocations: 0 / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.2451, allocations: 4 kB / 0.7888 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.2451, allocations: 11.97 kB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.2451, allocations: 33.7 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.18e-05/0.2452, allocations: 23.94 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2452, allocations: 0 / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2452, allocations: 0 / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2452, allocations: 4 kB / 0.7888 GB, free: 10.38 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.0004825/0.2457, allocations: 355.5 kB / 0.7892 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.2458, allocations: 15.97 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.2458, allocations: 38.56 kB / 0.7892 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.31e-05/0.2458, allocations: 3.906 kB / 0.7892 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.246, allocations: 175 kB / 0.7894 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.246, allocations: 0 / 0.7894 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.246, allocations: 4 kB / 0.7894 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.2462, allocations: 73.66 kB / 0.7895 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2462, allocations: 0 / 0.7895 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2462, allocations: 4 kB / 0.7895 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2462, allocations: 0 / 0.7895 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.2464, allocations: 63.88 kB / 0.7895 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.2468, allocations: 300.7 kB / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.247, allocations: 66.58 kB / 0.7899 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.2471, allocations: 32.88 kB / 0.7899 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2471, allocations: 4 kB / 0.7899 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.2472, allocations: 42.5 kB / 0.79 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2472, allocations: 0 / 0.79 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003682/0.2476, allocations: 117.6 kB / 0.7901 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.2476, allocations: 55.36 kB / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.2477, allocations: 109.8 kB / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.2477, allocations: 29.7 kB / 0.7902 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.2477, allocations: 88.03 kB / 0.7903 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.2478, allocations: 11.91 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.2478, allocations: 0 / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.853e-05/0.2479, allocations: 314.8 kB / 0.7906 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-05/0.248, allocations: 31.91 kB / 0.7907 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.613e-05/0.2481, allocations: 31.98 kB / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.198e-05/0.2482, allocations: 35.91 kB / 0.7907 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2482, allocations: 0 / 0.7907 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002167/0.2484, allocations: 85.66 kB / 0.7908 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2484, allocations: 11.98 kB / 0.7908 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2484, allocations: 0 / 0.7908 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.2484, allocations: 7.938 kB / 0.7908 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.2486, allocations: 11.98 kB / 0.7909 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2486, allocations: 3.953 kB / 0.7909 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.323e-05/0.2486, allocations: 19.83 kB / 0.7909 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.2487, allocations: 8.312 kB / 0.7909 GB, free: 8.047 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 6.504e-05/0.2487, allocations: 105.8 kB / 0.791 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.2488, allocations: 8 kB / 0.791 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.2488, allocations: 7.906 kB / 0.791 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2488, allocations: 0 / 0.791 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2488, allocations: 0 / 0.791 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2488, allocations: 7.891 kB / 0.791 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.249, allocations: 173.6 kB / 0.7912 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.249, allocations: 0 / 0.7912 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.442e-05/0.2491, allocations: 15.98 kB / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2491, allocations: 0 / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.2491, allocations: 0 / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2491, allocations: 4 kB / 0.7912 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2491, allocations: 4 kB / 0.7912 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.2494, allocations: 199.7 kB / 0.7914 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.2494, allocations: 89.09 kB / 0.7915 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.2494, allocations: 0 / 0.7915 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.2495, allocations: 8 kB / 0.7915 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.2496, allocations: 15.97 kB / 0.7915 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.2496, allocations: 0 / 0.7915 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.2497, allocations: 91.33 kB / 0.7916 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2497, allocations: 3.938 kB / 0.7916 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002226/0.2499, allocations: 12 kB / 0.7916 GB, free: 7.215 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.0006035/0.2505, allocations: 0.728 MB / 0.7923 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.2507, allocations: 63.95 kB / 0.7924 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2507, allocations: 0 / 0.7924 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.2509, allocations: 43.91 kB / 0.7924 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.2511, allocations: 10.47 kB / 0.7924 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000898/0.2521, allocations: 486.3 kB / 0.7929 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.2524, allocations: 0.6848 MB / 0.7936 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.614e-05/0.2524, allocations: 8 kB / 0.7936 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.2525, allocations: 19.42 kB / 0.7936 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2525, allocations: 0 / 0.7936 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.2679, allocations: 1.512 MB / 0.7951 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.2682, allocations: 189 kB / 0.7952 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/1.943, allocations: 0 / 0.7952 GB, free: 3.484 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: