Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Less,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Less",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.001048/0.001048, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 196.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.647/1.647, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001549/0.001549, allocations: 68 kB / 0.6716 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2031, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003034/0.2062, allocations: 1.994 MB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.2077, allocations: 1.106 MB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.596e-05/0.2078, allocations: 7.875 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.2082, allocations: 163.4 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000295/0.2085, allocations: 155.4 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.2089, allocations: 194.7 kB / 0.787 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.2092, allocations: 303.2 kB / 0.7873 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.2093, allocations: 52.66 kB / 0.7874 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.2095, allocations: 143.4 kB / 0.7875 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.2097, allocations: 151.4 kB / 0.7876 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.2097, allocations: 16 kB / 0.7877 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.2099, allocations: 51.98 kB / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.109e-05/0.21, allocations: 87.72 kB / 0.7878 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.2101, allocations: 119.2 kB / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.2104, allocations: 362.7 kB / 0.7882 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2104, allocations: 0 / 0.7882 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2104, allocations: 7.984 kB / 0.7883 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2104, allocations: 0 / 0.7883 GB, free: 8.477 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008255/0.2113, allocations: 0.6263 MB / 0.7889 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.2113, allocations: 8.031 kB / 0.7889 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.2114, allocations: 42.69 kB / 0.7889 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.2114, allocations: 36.47 kB / 0.7889 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.2118, allocations: 370.5 kB / 0.7893 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.2119, allocations: 12.12 kB / 0.7893 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.2119, allocations: 8 kB / 0.7893 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.2121, allocations: 113.5 kB / 0.7894 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.2121, allocations: 0 / 0.7894 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.2122, allocations: 0 / 0.7894 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2122, allocations: 7.938 kB / 0.7894 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.2123, allocations: 59.95 kB / 0.7895 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006908/0.213, allocations: 0.4886 MB / 0.79 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.2134, allocations: 134.7 kB / 0.7901 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.2135, allocations: 52.83 kB / 0.7901 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.2135, allocations: 8 kB / 0.7902 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.2138, allocations: 107.3 kB / 0.7903 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.2138, allocations: 0 / 0.7903 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004935/0.2143, allocations: 228.6 kB / 0.7905 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.2143, allocations: 51.41 kB / 0.7905 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.2148, allocations: 0.5055 MB / 0.791 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.2148, allocations: 33.7 kB / 0.7911 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.2149, allocations: 172.3 kB / 0.7912 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.215, allocations: 31.62 kB / 0.7912 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/0.2151, allocations: 69.95 kB / 0.7913 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2152, allocations: 350.8 kB / 0.7916 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.2154, allocations: 104.5 kB / 0.7917 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.2156, allocations: 131.6 kB / 0.7919 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.2159, allocations: 182.5 kB / 0.792 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2159, allocations: 0 / 0.792 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005013/0.2164, allocations: 321.1 kB / 0.7924 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2164, allocations: 8 kB / 0.7924 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2164, allocations: 4.062 kB / 0.7924 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2164, allocations: 3.938 kB / 0.7924 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.2167, allocations: 51.91 kB / 0.7924 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.2167, allocations: 0 / 0.7924 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.2168, allocations: 19.84 kB / 0.7924 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.2168, allocations: 19.98 kB / 0.7925 GB, free: 3.922 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.217, allocations: 177.8 kB / 0.7926 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.2171, allocations: 31.62 kB / 0.7927 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/0.2171, allocations: 43.11 kB / 0.7927 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.2171, allocations: 3.938 kB / 0.7927 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2171, allocations: 0 / 0.7927 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2171, allocations: 3.984 kB / 0.7927 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.2174, allocations: 301.4 kB / 0.793 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2174, allocations: 0 / 0.793 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.2175, allocations: 15.92 kB / 0.793 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2175, allocations: 4 kB / 0.793 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.2175, allocations: 0 / 0.793 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2175, allocations: 3.938 kB / 0.793 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2175, allocations: 0 / 0.793 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.2179, allocations: 216.5 kB / 0.7932 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.2179, allocations: 116.7 kB / 0.7933 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.218, allocations: 0 / 0.7933 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.883e-05/0.2181, allocations: 15.92 kB / 0.7933 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.2182, allocations: 15.98 kB / 0.7934 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.2182, allocations: 8 kB / 0.7934 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002991/0.2185, allocations: 315.1 kB / 0.7937 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2185, allocations: 7.938 kB / 0.7937 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002626/0.2188, allocations: 52 kB / 0.7937 GB, free: 2.52 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: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2016/0.4203, allocations: 1.058 MB / 0.7948 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005338/0.4209, allocations: 208 kB / 0.795 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4209, allocations: 0 / 0.795 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.4211, allocations: 59.97 kB / 0.795 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.4216, allocations: 94.47 kB / 0.7951 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.4251, allocations: 3.123 MB / 0.7982 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.4255, allocations: 0.7986 MB / 0.7989 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.4256, allocations: 58.94 kB / 0.799 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.4258, allocations: 107.4 kB / 0.7991 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.4258, allocations: 0 / 0.7991 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.654/2.08, allocations: 7.057 MB / 0.806 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.847/10.93, allocations: 1.766 kB / 0.806 GB, free: 6.113 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)