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.001059/0.001059, allocations: 109.4 kB / 15.69 MB, free: 124 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.00141/0.00141, allocations: 186.5 kB / 16.62 MB, free: 6.613 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.591/1.591, 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.74/1.74, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001552/0.001552, allocations: 72.39 kB / 0.6718 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2787, allocations: 114.5 MB / 0.7836 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.004054/0.2828, allocations: 1.92 MB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.2848, allocations: 1.032 MB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.2851, allocations: 4 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004897/0.2856, allocations: 103.6 kB / 0.7866 GB, free: 10.11 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.000383/0.286, allocations: 95.56 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.2864, allocations: 119.6 kB / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.2868, allocations: 207.4 kB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.2869, allocations: 41.66 kB / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.2871, allocations: 95.61 kB / 0.7872 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.2873, allocations: 95.59 kB / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.2873, allocations: 12 kB / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.2875, allocations: 59.98 kB / 0.7873 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.827e-05/0.2875, allocations: 59.81 kB / 0.7874 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.434e-05/0.2876, allocations: 83.36 kB / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.288, allocations: 275.3 kB / 0.7877 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.288, allocations: 0 / 0.7877 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.288, allocations: 0 / 0.7877 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.2881, allocations: 0 / 0.7877 GB, free: 8.984 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.000875/0.2889, allocations: 0.5333 MB / 0.7882 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.289, allocations: 12.03 kB / 0.7883 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.644e-05/0.289, allocations: 42.67 kB / 0.7883 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.2891, allocations: 24.66 kB / 0.7883 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.2895, allocations: 307.7 kB / 0.7886 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.2895, allocations: 8.125 kB / 0.7886 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.2896, allocations: 4 kB / 0.7886 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.2898, allocations: 81.66 kB / 0.7887 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2898, allocations: 0 / 0.7887 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2898, allocations: 4 kB / 0.7887 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.2898, allocations: 0 / 0.7887 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.2899, allocations: 47.91 kB / 0.7888 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.2906, allocations: 408.6 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.2908, allocations: 86.59 kB / 0.7892 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.532e-05/0.2909, allocations: 28.84 kB / 0.7893 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.2909, allocations: 7.938 kB / 0.7893 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.2911, allocations: 71.39 kB / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.2911, allocations: 0 / 0.7893 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003493/0.2915, allocations: 149.2 kB / 0.7895 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.2915, allocations: 51.41 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.2919, allocations: 362.9 kB / 0.7899 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.2919, allocations: 29.7 kB / 0.7899 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.292, allocations: 140 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.2921, allocations: 19.8 kB / 0.7901 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.2922, allocations: 41.7 kB / 0.7901 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2923, allocations: 338.8 kB / 0.7904 GB, free: 6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.2924, allocations: 59.92 kB / 0.7905 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.2925, allocations: 77.67 kB / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.2927, allocations: 89.64 kB / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2927, allocations: 0 / 0.7906 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003185/0.293, allocations: 191.8 kB / 0.7908 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2931, allocations: 8.031 kB / 0.7908 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2931, allocations: 0 / 0.7908 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.2931, allocations: 7.938 kB / 0.7908 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.2932, allocations: 23.92 kB / 0.7909 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.2933, allocations: 4 kB / 0.7909 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.2934, allocations: 23.83 kB / 0.7909 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.2934, allocations: 4 kB / 0.7909 GB, free: 5.504 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 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001513/0.2936, allocations: 156.9 kB / 0.791 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.2936, allocations: 27.7 kB / 0.7911 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.2937, allocations: 29.69 kB / 0.7911 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2937, allocations: 0 / 0.7911 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2937, allocations: 0 / 0.7911 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2937, allocations: 3.984 kB / 0.7911 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.2939, allocations: 241.6 kB / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2939, allocations: 0 / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.294, allocations: 7.984 kB / 0.7913 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.294, allocations: 3.984 kB / 0.7913 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.294, allocations: 7.938 kB / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.294, allocations: 0 / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.294, allocations: 4 kB / 0.7913 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.2942, allocations: 128.8 kB / 0.7915 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.2943, allocations: 100.9 kB / 0.7916 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.2944, allocations: 3.938 kB / 0.7916 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.2944, allocations: 11.98 kB / 0.7916 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.2945, allocations: 15.92 kB / 0.7916 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.2945, allocations: 4 kB / 0.7916 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002339/0.2948, allocations: 233.9 kB / 0.7918 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2948, allocations: 0 / 0.7918 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002836/0.2951, allocations: 44.02 kB / 0.7919 GB, free: 4.41 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 (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.001436/0.2965, allocations: 0.9868 MB / 0.7928 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002535/0.2968, allocations: 111.3 kB / 0.7929 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2968, allocations: 0 / 0.7929 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.231e-05/0.2969, allocations: 43.84 kB / 0.793 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.2972, allocations: 51.16 kB / 0.793 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.3, allocations: 2.302 MB / 0.7953 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.3005, allocations: 0.7437 MB / 0.796 GB, free: 196 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000192/0.3007, allocations: 33.52 kB / 0.796 GB, free: 164 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.3008, allocations: 71.41 kB / 0.7961 GB, free: 92 kB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.3008, allocations: 4 kB / 0.7961 GB, free: 88 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.3247, allocations: 5.098 MB / 0.8011 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.699/8.024, allocations: 11.5 kB / 0.8011 GB, free: 11.12 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/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)