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.001422/0.001422, allocations: 101.4 kB / 15.7 MB, free: 28 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.001434/0.001434, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.656/1.656, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.83/1.83, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001474/0.001474, allocations: 72.89 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.28, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004089/0.2842, allocations: 2.008 MB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.2862, allocations: 1.102 MB / 0.7867 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.2864, allocations: 7.938 kB / 0.7867 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.2869, allocations: 159.5 kB / 0.7868 GB, free: 9.992 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.0003894/0.2873, allocations: 159.4 kB / 0.787 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.2879, allocations: 182.3 kB / 0.7872 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.2883, allocations: 311.2 kB / 0.7875 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.2885, allocations: 56.62 kB / 0.7875 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.2887, allocations: 147.3 kB / 0.7877 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.2889, allocations: 151.4 kB / 0.7878 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.2889, allocations: 12 kB / 0.7878 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.2891, allocations: 47.98 kB / 0.7879 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.2892, allocations: 95.66 kB / 0.7879 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.2894, allocations: 127.1 kB / 0.7881 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.2898, allocations: 366.7 kB / 0.7884 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2898, allocations: 0 / 0.7884 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2898, allocations: 0 / 0.7884 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2898, allocations: 4 kB / 0.7884 GB, free: 8.367 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.001108/0.2909, allocations: 0.6224 MB / 0.789 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.291, allocations: 12.03 kB / 0.789 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.2911, allocations: 34.75 kB / 0.7891 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.065e-05/0.2911, allocations: 40.45 kB / 0.7891 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005577/0.2917, allocations: 374.5 kB / 0.7895 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.2917, allocations: 8.125 kB / 0.7895 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.2918, allocations: 12 kB / 0.7895 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.2921, allocations: 106.5 kB / 0.7896 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2921, allocations: 0 / 0.7896 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.2921, allocations: 4 kB / 0.7896 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2921, allocations: 3.984 kB / 0.7896 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.2923, allocations: 59.91 kB / 0.7897 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008505/0.2932, allocations: 0.4887 MB / 0.7901 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.2935, allocations: 138.7 kB / 0.7903 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.2936, allocations: 56.75 kB / 0.7903 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2936, allocations: 0 / 0.7903 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.2939, allocations: 115.3 kB / 0.7904 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.2939, allocations: 0 / 0.7904 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.000531/0.2944, allocations: 232.7 kB / 0.7907 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.2945, allocations: 55.41 kB / 0.7907 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/0.295, allocations: 0.4977 MB / 0.7912 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.295, allocations: 33.7 kB / 0.7912 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.2952, allocations: 168.3 kB / 0.7914 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.2952, allocations: 43.59 kB / 0.7914 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.2953, allocations: 61.97 kB / 0.7915 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2955, allocations: 350.8 kB / 0.7918 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.2957, allocations: 96.52 kB / 0.7919 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.2959, allocations: 131.6 kB / 0.792 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.2962, allocations: 186.5 kB / 0.7922 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2962, allocations: 3.938 kB / 0.7922 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005352/0.2968, allocations: 325.1 kB / 0.7925 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2968, allocations: 4 kB / 0.7925 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2968, allocations: 0 / 0.7925 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2968, allocations: 7.938 kB / 0.7925 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.2971, allocations: 51.91 kB / 0.7926 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2971, allocations: 8.062 kB / 0.7926 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.2972, allocations: 23.83 kB / 0.7926 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.2973, allocations: 12 kB / 0.7926 GB, free: 3.809 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.000177/0.2975, allocations: 181.7 kB / 0.7928 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.2975, allocations: 31.62 kB / 0.7928 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.436e-05/0.2976, allocations: 35.11 kB / 0.7929 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2976, allocations: 3.938 kB / 0.7929 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.2976, allocations: 4 kB / 0.7929 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2976, allocations: 4 kB / 0.7929 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.2979, allocations: 297.4 kB / 0.7932 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2979, allocations: 0 / 0.7932 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/0.298, allocations: 16 kB / 0.7932 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.298, allocations: 0 / 0.7932 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.298, allocations: 7.984 kB / 0.7932 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.298, allocations: 7.875 kB / 0.7932 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.298, allocations: 0 / 0.7932 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.2984, allocations: 208.6 kB / 0.7934 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.2985, allocations: 108.7 kB / 0.7935 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.2985, allocations: 8 kB / 0.7935 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.87e-05/0.2987, allocations: 11.92 kB / 0.7935 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.2987, allocations: 19.98 kB / 0.7935 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.2988, allocations: 7.984 kB / 0.7935 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003192/0.2991, allocations: 311.1 kB / 0.7938 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2991, allocations: 0 / 0.7938 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002871/0.2994, allocations: 55.98 kB / 0.7939 GB, free: 2.418 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.001592/0.301, allocations: 1.069 MB / 0.7949 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000402/0.3014, allocations: 196.1 kB / 0.7951 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3014, allocations: 4.125 kB / 0.7951 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.3016, allocations: 61.89 kB / 0.7952 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.302, allocations: 94.11 kB / 0.7953 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/0.3059, allocations: 3.115 MB / 0.7983 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.3064, allocations: 0.7792 MB / 0.7991 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.3066, allocations: 58.89 kB / 0.7991 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.3067, allocations: 107.4 kB / 0.7992 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.3067, allocations: 4 kB / 0.7992 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.3324, allocations: 7.073 MB / 0.8061 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.215, allocations: 9.703 kB / 0.8062 GB, free: 6.023 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)