Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",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.001033/0.001033, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001068/0.001068, allocations: 177.3 kB / 15.94 MB, free: 228 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.502/1.502, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.8/1.8, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0007372/0.0007373, allocations: 20.09 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2959, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002204/0.2982, allocations: 1.602 MB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001945/0.3002, allocations: 0.9302 MB / 0.7897 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.3003, allocations: 3.938 kB / 0.7897 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004698/0.3008, allocations: 95.69 kB / 0.7898 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.3012, allocations: 83.69 kB / 0.7899 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.3016, allocations: 110.5 kB / 0.79 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.302, allocations: 119.7 kB / 0.7901 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.3022, allocations: 37.66 kB / 0.7901 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.3024, allocations: 79.62 kB / 0.7902 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.3026, allocations: 75.67 kB / 0.7903 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.3026, allocations: 0 / 0.7903 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.3028, allocations: 35.98 kB / 0.7903 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.537e-05/0.3029, allocations: 55.75 kB / 0.7904 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.012e-05/0.303, allocations: 53.58 kB / 0.7904 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.3034, allocations: 219.7 kB / 0.7906 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3034, allocations: 4 kB / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.605e-06/0.3035, allocations: 0 / 0.7906 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3035, allocations: 0 / 0.7906 GB, free: 8.344 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001073/0.3045, allocations: 0.5021 MB / 0.7911 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.3046, allocations: 8.031 kB / 0.7911 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.3047, allocations: 38.55 kB / 0.7912 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.3047, allocations: 31.67 kB / 0.7912 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.3052, allocations: 286.4 kB / 0.7915 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3052, allocations: 8 kB / 0.7915 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.3052, allocations: 7.984 kB / 0.7915 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.3054, allocations: 77.66 kB / 0.7916 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.3054, allocations: 3.938 kB / 0.7916 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3054, allocations: 0 / 0.7916 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.3055, allocations: 4 kB / 0.7916 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3056, allocations: 43.94 kB / 0.7916 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/0.3062, allocations: 420.6 kB / 0.792 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.3065, allocations: 90.56 kB / 0.7921 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.3065, allocations: 3.984 kB / 0.7921 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.3067, allocations: 79.5 kB / 0.7922 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.3067, allocations: 0 / 0.7922 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003309/0.307, allocations: 129.3 kB / 0.7923 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.3071, allocations: 55.41 kB / 0.7924 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.3075, allocations: 366.9 kB / 0.7927 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.3075, allocations: 25.7 kB / 0.7927 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.3076, allocations: 140 kB / 0.7929 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.3077, allocations: 19.8 kB / 0.7929 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.3077, allocations: 4 kB / 0.7929 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.3078, allocations: 334.8 kB / 0.7932 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.3079, allocations: 55.98 kB / 0.7933 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.308, allocations: 81.67 kB / 0.7934 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.3081, allocations: 55.09 kB / 0.7934 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3082, allocations: 0 / 0.7934 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003469/0.3085, allocations: 197.2 kB / 0.7936 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3085, allocations: 7.938 kB / 0.7936 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3085, allocations: 0 / 0.7936 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3086, allocations: 11.94 kB / 0.7936 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3087, allocations: 23.92 kB / 0.7936 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3087, allocations: 8.031 kB / 0.7936 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3088, allocations: 15.91 kB / 0.7937 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.3088, allocations: 7.984 kB / 0.7937 GB, free: 5.023 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001356/0.309, allocations: 156.2 kB / 0.7938 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.309, allocations: 19.77 kB / 0.7938 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.3091, allocations: 29.73 kB / 0.7939 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3091, allocations: 0 / 0.7939 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3091, allocations: 4 kB / 0.7939 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3091, allocations: 0 / 0.7939 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.3093, allocations: 245.5 kB / 0.7941 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3093, allocations: 0 / 0.7941 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.172e-05/0.3094, allocations: 7.938 kB / 0.7941 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3094, allocations: 0 / 0.7941 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3094, allocations: 7.953 kB / 0.7941 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3094, allocations: 0 / 0.7941 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3094, allocations: 0 / 0.7941 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.3096, allocations: 136.9 kB / 0.7942 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.3097, allocations: 100.8 kB / 0.7943 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.3097, allocations: 0 / 0.7943 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.3098, allocations: 15.94 kB / 0.7944 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.3099, allocations: 19.97 kB / 0.7944 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3099, allocations: 0 / 0.7944 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002081/0.3101, allocations: 225.9 kB / 0.7946 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3101, allocations: 8 kB / 0.7946 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002524/0.3104, allocations: 44.02 kB / 0.7946 GB, free: 3.934 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: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001334/0.3117, allocations: 0.9834 MB / 0.7956 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.3119, allocations: 107.9 kB / 0.7957 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.312, allocations: 0 / 0.7957 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.312, allocations: 31.98 kB / 0.7957 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.3123, allocations: 53.61 kB / 0.7958 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009244/0.3133, allocations: 0.8016 MB / 0.7966 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.3136, allocations: 0.7479 MB / 0.7973 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.312e-05/0.3136, allocations: 29.48 kB / 0.7973 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.3138, allocations: 71.41 kB / 0.7974 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.3138, allocations: 0 / 0.7974 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.009/1.323, allocations: 4.76 MB / 0.802 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/1.323, allocations: 237.9 kB / 0.8023 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.869, allocations: 0 / 0.8023 GB, free: 12.34 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1) Environment - environmentSimulation: