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.001453/0.001453, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001724/0.001725, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.341/1.341, allocations: 205.1 MB / 222 MB, free: 4.734 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.628/1.628, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001371/0.001371, allocations: 67.45 kB / 0.6709 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2137, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.00372/0.2174, allocations: 2.052 MB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.2194, allocations: 1.097 MB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.2196, allocations: 7.938 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.2201, allocations: 155.6 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.2204, allocations: 131.6 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005044/0.2209, allocations: 179.3 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.2213, allocations: 287.2 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.2215, allocations: 52.66 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.2218, allocations: 127.4 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.222, allocations: 147.4 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.222, allocations: 8 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.2222, allocations: 43.97 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.2223, allocations: 83.67 kB / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.2224, allocations: 115.2 kB / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.2228, allocations: 354.7 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2228, allocations: 0 / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2228, allocations: 0 / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.2228, allocations: 0 / 0.7875 GB, free: 9.074 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.0009961/0.2238, allocations: 0.634 MB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2239, allocations: 8.031 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.2239, allocations: 38.75 kB / 0.7882 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.021e-05/0.224, allocations: 36.47 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.2245, allocations: 374.4 kB / 0.7886 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.2245, allocations: 12.12 kB / 0.7886 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.2245, allocations: 8 kB / 0.7886 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.2248, allocations: 109.5 kB / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2248, allocations: 0 / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.2248, allocations: 4 kB / 0.7887 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2248, allocations: 4 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.225, allocations: 63.89 kB / 0.7887 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007377/0.2257, allocations: 0.4925 MB / 0.7892 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.2261, allocations: 134.8 kB / 0.7894 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.2262, allocations: 52.77 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.2262, allocations: 4 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.2265, allocations: 115.3 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.2265, allocations: 0 / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005173/0.227, allocations: 221.2 kB / 0.7897 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.2271, allocations: 59.34 kB / 0.7898 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005257/0.2276, allocations: 0.5055 MB / 0.7903 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.2276, allocations: 25.7 kB / 0.7903 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.2278, allocations: 168.3 kB / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.2278, allocations: 39.59 kB / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.2279, allocations: 69.95 kB / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.228, allocations: 350.8 kB / 0.7909 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.2282, allocations: 104.5 kB / 0.791 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.2284, allocations: 131.6 kB / 0.7911 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.2287, allocations: 183.5 kB / 0.7913 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2288, allocations: 0 / 0.7913 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004992/0.2293, allocations: 317.1 kB / 0.7916 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2293, allocations: 10.95 kB / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2293, allocations: 4 kB / 0.7916 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2293, allocations: 3.938 kB / 0.7916 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.2295, allocations: 55.91 kB / 0.7917 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2295, allocations: 0 / 0.7917 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.2297, allocations: 19.84 kB / 0.7917 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.2297, allocations: 15.98 kB / 0.7917 GB, free: 4.504 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.0001562/0.2299, allocations: 181.8 kB / 0.7919 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.2299, allocations: 31.62 kB / 0.7919 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.83e-05/0.23, allocations: 39.12 kB / 0.792 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.23, allocations: 3.938 kB / 0.792 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.23, allocations: 0 / 0.792 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.23, allocations: 0 / 0.792 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/0.2303, allocations: 297.4 kB / 0.7922 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2303, allocations: 0 / 0.7922 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-05/0.2303, allocations: 11.98 kB / 0.7923 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2304, allocations: 4 kB / 0.7923 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2304, allocations: 8 kB / 0.7923 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2304, allocations: 3.938 kB / 0.7923 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2304, allocations: 3.938 kB / 0.7923 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.2307, allocations: 212.5 kB / 0.7925 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.297e-05/0.2308, allocations: 112.7 kB / 0.7926 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.2309, allocations: 4 kB / 0.7926 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.903e-05/0.231, allocations: 15.92 kB / 0.7926 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.2311, allocations: 15.98 kB / 0.7926 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.2311, allocations: 15.98 kB / 0.7926 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003094/0.2314, allocations: 315.1 kB / 0.7929 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2314, allocations: 0 / 0.7929 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002675/0.2317, allocations: 55.98 kB / 0.793 GB, free: 3.105 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.001364/0.233, allocations: 1.06 MB / 0.794 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003566/0.2334, allocations: 190.7 kB / 0.7942 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2334, allocations: 0 / 0.7942 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.2336, allocations: 63.91 kB / 0.7943 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.234, allocations: 91.88 kB / 0.7944 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.2376, allocations: 3.176 MB / 0.7975 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.2379, allocations: 0.7947 MB / 0.7982 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001293/0.238, allocations: 46.95 kB / 0.7983 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.2382, allocations: 103.4 kB / 0.7984 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2382, allocations: 0 / 0.7984 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05582/0.294, allocations: 6.747 MB / 0.805 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003119/0.2944, allocations: 247.3 kB / 0.8052 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.125, allocations: 3.938 kB / 0.8052 GB, free: 6.742 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)