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.001585/0.001585, allocations: 108 kB / 15.6 MB, free: 128 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.001709/0.001709, allocations: 196.4 kB / 16.53 MB, free: 6.672 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.581/1.581, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.826/1.826, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.002788/0.002788, allocations: 68.02 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3193, allocations: 114.6 MB / 0.7835 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003843/0.3232, allocations: 1.998 MB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.3256, allocations: 1.106 MB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.3259, allocations: 4 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006043/0.3266, allocations: 171.3 kB / 0.7867 GB, free: 10.01 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.000585/0.3272, allocations: 147.4 kB / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007618/0.328, allocations: 190.9 kB / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006118/0.3286, allocations: 311.2 kB / 0.7873 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.3288, allocations: 40.67 kB / 0.7873 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.3291, allocations: 143.4 kB / 0.7875 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.3294, allocations: 155.4 kB / 0.7876 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.3294, allocations: 12 kB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.3296, allocations: 59.97 kB / 0.7877 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.3297, allocations: 91.67 kB / 0.7878 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.3299, allocations: 115.2 kB / 0.7879 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.3303, allocations: 362.7 kB / 0.7882 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3303, allocations: 0 / 0.7882 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3303, allocations: 0 / 0.7882 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.3303, allocations: 0 / 0.7882 GB, free: 8.414 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.001212/0.3316, allocations: 0.634 MB / 0.7889 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.3316, allocations: 16.02 kB / 0.7889 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.3317, allocations: 34.75 kB / 0.7889 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.114e-05/0.3318, allocations: 36.47 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.3323, allocations: 374.5 kB / 0.7893 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.3324, allocations: 12.12 kB / 0.7893 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.3324, allocations: 15.94 kB / 0.7893 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.3327, allocations: 110.5 kB / 0.7894 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3327, allocations: 4 kB / 0.7894 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3327, allocations: 0 / 0.7894 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3327, allocations: 0 / 0.7894 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.3329, allocations: 63.95 kB / 0.7895 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000812/0.3337, allocations: 0.4886 MB / 0.79 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.3341, allocations: 130.8 kB / 0.7901 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.3343, allocations: 52.83 kB / 0.7902 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.3343, allocations: 3.938 kB / 0.7902 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.3346, allocations: 111.3 kB / 0.7903 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/0.3346, allocations: 4 kB / 0.7903 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0006066/0.3352, allocations: 217.2 kB / 0.7905 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.3353, allocations: 59.41 kB / 0.7905 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/0.3359, allocations: 0.4977 MB / 0.791 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.336, allocations: 37.64 kB / 0.7911 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.3362, allocations: 172.3 kB / 0.7912 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.3362, allocations: 35.61 kB / 0.7912 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3364, allocations: 73.95 kB / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3366, allocations: 338.8 kB / 0.7916 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.3368, allocations: 104.5 kB / 0.7917 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.337, allocations: 135.6 kB / 0.7919 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.3374, allocations: 186.5 kB / 0.792 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3374, allocations: 3.938 kB / 0.7921 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005658/0.3379, allocations: 317.1 kB / 0.7924 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.338, allocations: 6.656 kB / 0.7924 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.338, allocations: 0 / 0.7924 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.338, allocations: 7.938 kB / 0.7924 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.3382, allocations: 47.97 kB / 0.7924 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3383, allocations: 12 kB / 0.7924 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.3384, allocations: 23.83 kB / 0.7924 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.3385, allocations: 11.98 kB / 0.7925 GB, free: 3.844 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.0001864/0.3387, allocations: 173.8 kB / 0.7926 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.3387, allocations: 35.56 kB / 0.7927 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.728e-05/0.3388, allocations: 35.12 kB / 0.7927 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3388, allocations: 7.938 kB / 0.7927 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3388, allocations: 0 / 0.7927 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3388, allocations: 4 kB / 0.7927 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.3391, allocations: 297.4 kB / 0.793 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3391, allocations: 4 kB / 0.793 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.189e-05/0.3392, allocations: 15.98 kB / 0.793 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3392, allocations: 0 / 0.793 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.3392, allocations: 8 kB / 0.793 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3392, allocations: 3.938 kB / 0.793 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3392, allocations: 0 / 0.793 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.3396, allocations: 211.8 kB / 0.7932 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.594e-05/0.3398, allocations: 116.7 kB / 0.7933 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.3398, allocations: 11.98 kB / 0.7933 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3399, allocations: 7.938 kB / 0.7934 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.34, allocations: 19.97 kB / 0.7934 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.34, allocations: 8 kB / 0.7934 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003329/0.3404, allocations: 315.1 kB / 0.7937 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.613e-06/0.3404, allocations: 0 / 0.7937 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002885/0.3407, allocations: 51.94 kB / 0.7937 GB, free: 2.449 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.00179/0.3425, allocations: 1.057 MB / 0.7948 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005047/0.343, allocations: 206.7 kB / 0.795 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.343, allocations: 4.125 kB / 0.795 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.3432, allocations: 59.91 kB / 0.795 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.3437, allocations: 95.39 kB / 0.7951 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.3481, allocations: 3.124 MB / 0.7982 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.3486, allocations: 0.7908 MB / 0.7989 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001717/0.3488, allocations: 58.88 kB / 0.799 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.3489, allocations: 107.4 kB / 0.7991 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of SimCode: time 1.493e-06/0.349, allocations: 4 kB / 0.7991 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.3782, allocations: 7.05 MB / 0.806 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.496, allocations: 12.5 kB / 0.806 GB, free: 6.039 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)