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.001162/0.001162, allocations: 108 kB / 15.61 MB, free: 152 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.00116/0.001161, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.166/1.166, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.495/1.495, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001287/0.001288, allocations: 73.16 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1937, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.002779/0.1965, allocations: 1.921 MB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.1979, allocations: 1.028 MB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.94e-05/0.198, allocations: 4 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.1983, allocations: 103.6 kB / 0.7865 GB, free: 10.28 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.0002224/0.1985, allocations: 99.56 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.1988, allocations: 120.5 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.199, allocations: 211.4 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1992, allocations: 45.66 kB / 0.7869 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1993, allocations: 87.62 kB / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1994, allocations: 95.59 kB / 0.7871 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.1994, allocations: 12 kB / 0.7871 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.1996, allocations: 59.98 kB / 0.7872 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.1996, allocations: 59.81 kB / 0.7872 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.728e-05/0.1997, allocations: 83.36 kB / 0.7873 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.2, allocations: 275.3 kB / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2, allocations: 0 / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2, allocations: 0 / 0.7876 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2, allocations: 0 / 0.7876 GB, free: 9.156 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.0006552/0.2007, allocations: 0.5255 MB / 0.7881 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.2007, allocations: 8.031 kB / 0.7881 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.2007, allocations: 42.73 kB / 0.7881 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.2008, allocations: 24.59 kB / 0.7882 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.2011, allocations: 311.7 kB / 0.7885 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2011, allocations: 8.125 kB / 0.7885 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.2012, allocations: 8 kB / 0.7885 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.2013, allocations: 84.27 kB / 0.7885 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2013, allocations: 0 / 0.7885 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2014, allocations: 4 kB / 0.7886 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2014, allocations: 0 / 0.7886 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.2015, allocations: 39.98 kB / 0.7886 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.202, allocations: 416.5 kB / 0.789 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.2022, allocations: 82.67 kB / 0.7891 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.2023, allocations: 24.84 kB / 0.7891 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.2023, allocations: 11.94 kB / 0.7891 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.2025, allocations: 71.38 kB / 0.7892 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.2025, allocations: 4 kB / 0.7892 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002892/0.2028, allocations: 137.3 kB / 0.7893 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.2028, allocations: 55.41 kB / 0.7894 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.2031, allocations: 358.9 kB / 0.7897 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2032, allocations: 33.64 kB / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.632e-05/0.2032, allocations: 140 kB / 0.7899 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.2033, allocations: 15.81 kB / 0.7899 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.2033, allocations: 45.69 kB / 0.7899 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.2034, allocations: 334.8 kB / 0.7902 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.783e-05/0.2035, allocations: 59.97 kB / 0.7903 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2036, allocations: 73.69 kB / 0.7904 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2038, allocations: 88.94 kB / 0.7905 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2038, allocations: 3.938 kB / 0.7905 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000276/0.2041, allocations: 205.2 kB / 0.7907 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.2041, allocations: 6.656 kB / 0.7907 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2041, allocations: 0 / 0.7907 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2041, allocations: 7.938 kB / 0.7907 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.2042, allocations: 23.92 kB / 0.7907 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2042, allocations: 3.938 kB / 0.7907 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.263e-05/0.2043, allocations: 19.83 kB / 0.7907 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.853e-05/0.2044, allocations: 12 kB / 0.7907 GB, free: 5.68 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.0001085/0.2045, allocations: 153 kB / 0.7909 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.2045, allocations: 19.72 kB / 0.7909 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.2046, allocations: 33.67 kB / 0.7909 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2046, allocations: 0 / 0.7909 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2046, allocations: 0 / 0.7909 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2046, allocations: 3.984 kB / 0.7909 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.2048, allocations: 249.5 kB / 0.7912 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2048, allocations: 0 / 0.7912 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.2048, allocations: 4 kB / 0.7912 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2048, allocations: 3.938 kB / 0.7912 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.2048, allocations: 3.938 kB / 0.7912 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2048, allocations: 4 kB / 0.7912 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2048, allocations: 0 / 0.7912 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.205, allocations: 136.8 kB / 0.7913 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.2051, allocations: 92.92 kB / 0.7914 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.2051, allocations: 11.94 kB / 0.7914 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.2052, allocations: 7.984 kB / 0.7914 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.2053, allocations: 7.984 kB / 0.7914 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.2053, allocations: 8 kB / 0.7914 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001898/0.2055, allocations: 229.9 kB / 0.7917 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2055, allocations: 0 / 0.7917 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000224/0.2057, allocations: 44.03 kB / 0.7917 GB, free: 4.598 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.001136/0.2068, allocations: 1.004 MB / 0.7927 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.2071, allocations: 111.8 kB / 0.7928 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2071, allocations: 0 / 0.7928 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.185e-05/0.2072, allocations: 24 kB / 0.7928 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.2075, allocations: 51.69 kB / 0.7929 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.2096, allocations: 2.305 MB / 0.7951 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.2098, allocations: 0.7437 MB / 0.7958 GB, free: 388 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.155e-05/0.2099, allocations: 25.55 kB / 0.7959 GB, free: 364 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.954e-05/0.21, allocations: 71.41 kB / 0.7959 GB, free: 296 kB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.21, allocations: 0 / 0.7959 GB, free: 296 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.783/1.993, allocations: 5.094 MB / 0.8009 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/14.54, allocations: 14.38 kB / 0.8009 GB, free: 11.31 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)